Skip to content
Myr

Merge pull request #186 from dbushong/cleanup-usage

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix implicit commas added during array -> string conversion for usage arguments

authored by Thomas Geraghty · committed by Thomas Geraghty · parents 5a95ce1, d026976 · Browse files · 1 file+3 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−4 removed

  • other:+3 added−4 removed

1 file+3 added−4 removed

modified:index.js+3 added-4 removed
712 unmodified lines
713 ? '<' + arg.name + '>'714 : '[' + arg.name + ']';715 });716717 var usage = '[options'718 + (this.commands.length ? '] [command' : '')719 + ']'720 + (this._args.length ? ' ' + args : '');717 var usage = '[options]'718 + (this.commands.length ? ' [command]' : '')719 + (this._args.length ? ' ' + args.join(' ') : '');720721 if (0 == arguments.length) return this._usage || usage;722 this._usage = str;723
170 unmodified lines