Skip to content
Myr

Merge with conflicts

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

authored by John Gee · committed by John Gee · parents 1b2b950, 2365feb · Browse files · 2 files+12 added−1 removed
This commit

State

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

Diff stats

2 files+12 added−1 removed

  • tests:+8 added−0 removed
  • other:+4 added−1 removed

2 files+12 added−1 removed

added:test/test.command.usage.js+8 added
modified:index.js+4 added-1 removed
1104 unmodified lines
1105 var cmdName = this._name;1106 if (this._alias) {1107 cmdName = cmdName + '|' + this._alias;1108 }1109 var ancestor = this;1110 var prefix = [];1111 while ((ancestor = ancestor.parent)) prefix.push(ancestor.name() + ' ');1112 var usage = [1110 'Usage: ' + cmdName + ' ' + this.usage(),1113 'Usage: ' + prefix.join('') + cmdName + ' ' + this.usage(),1114 ''1115 ];11161117 var cmds = [];
119 unmodified lines