From 74b294f609d42715cfce8c7748885dbf38c2d59c Mon Sep 17 00:00:00 2001 From: Nico Flaig Date: Thu, 18 Apr 2024 11:18:15 +0100 Subject: [PATCH] docs: remove description prefix from CLI options --- packages/cli/docsgen/markdown.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/docsgen/markdown.ts b/packages/cli/docsgen/markdown.ts index 03500748d442..fc2bf164ca8d 100644 --- a/packages/cli/docsgen/markdown.ts +++ b/packages/cli/docsgen/markdown.ts @@ -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");