diff --git a/src/help/command.ts b/src/help/command.ts index 199acffa0..a5d0ac91a 100644 --- a/src/help/command.ts +++ b/src/help/command.ts @@ -166,12 +166,11 @@ export class CommandHelp extends HelpFormatter { } if (flag.type === 'option') { - let value = flag.helpValue || (this.opts.showFlagNameInTitle ? flag.name : '') - if (!flag.helpValue && flag.options) { - value = showOptions || this.opts.showFlagOptionsInTitle ? `${flag.options.join('|')}` : '