diff --git a/node_modules/@oclif/core/lib/cli-ux/list.js b/node_modules/@oclif/core/lib/cli-ux/list.js index dc6058c..64b2f85 100644 --- a/node_modules/@oclif/core/lib/cli-ux/list.js +++ b/node_modules/@oclif/core/lib/cli-ux/list.js @@ -22,7 +22,7 @@ function renderList(items) { } left = left.padEnd(maxLength); right = linewrap(maxLength + 2, right); - return `${left} ${right}`; + return `${left} : ${right}`; }); return lines.join('\n'); } diff --git a/node_modules/@oclif/core/lib/help/command.js b/node_modules/@oclif/core/lib/help/command.js index 6de139b..3a13197 100644 --- a/node_modules/@oclif/core/lib/help/command.js +++ b/node_modules/@oclif/core/lib/help/command.js @@ -206,7 +206,7 @@ class CommandHelp extends formatter_1.HelpFormatter { if (args.filter(a => a.description).length === 0) return; return args.map(a => { - const name = a.name.toUpperCase(); + const name = a.required ? `<${a.name}>` : `[${a.name}]`; let description = a.description || ''; if (a.default) description = `[default: ${a.default}] ${description}`; @@ -238,14 +238,12 @@ class CommandHelp extends formatter_1.HelpFormatter { label = labels.join(', '); } if (flag.type === 'option') { - let value = flag.helpValue || (this.opts.showFlagNameInTitle ? flag.name : ''); + let value = flag.helpValue || (this.opts.showFlagNameInTitle ? flag.name : `<${flag.name}>`); if (!flag.helpValue && flag.options) { value = showOptions || this.opts.showFlagOptionsInTitle ? `${flag.options.join('|')}` : '