Skip to content

Commit

Permalink
docs: remove description prefix from CLI options
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed Apr 18, 2024
1 parent f5148b2 commit 74b294f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/docsgen/markdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function renderOption(optionName: string, option: CliOptionDefinition): string |
if (option.hidden) return;

const commandOption = [`#### \`--${optionName}\``];
if (option.description) commandOption.push(`description: ${sanitizeDescription(option.description)}`);
if (option.description) commandOption.push(`${sanitizeDescription(option.description)}`);

if (option.demandOption === true) {
commandOption.push("required: true");
Expand Down

0 comments on commit 74b294f

Please sign in to comment.