Skip to content

Commit

Permalink
feat(command): add command module
Browse files Browse the repository at this point in the history
fix variadic argument dots in help output
  • Loading branch information
c4spar committed Mar 15, 2020
1 parent bf3a20c commit 3f95ec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/command/commands/help.ts
Expand Up @@ -210,10 +210,10 @@ export class HelpCommand extends BaseCommand {
str += yellow( arg.optionalValue ? '[' : '<' );

let name = '';
name += arg.name;
if ( arg.variadic ) {
name += '...';
}
name += arg.name;
name = magenta( name );

str += name;
Expand Down

0 comments on commit 3f95ec6

Please sign in to comment.