Skip to content
Myr

Merge pull request #266 from zhiyelee/fix

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

Small edit to #264

authored by Thomas Geraghty · committed by Thomas Geraghty · parents 1114d75, ba98041 · Browse files · 2 files+2 added−6 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+2 added−6 removed

  • tests:+0 added−2 removed
  • other:+2 added−4 removed

2 files+2 added−6 removed

modified:test/test.command.name.js-2 removed
modified:index.js+2 added-4 removed
740 unmodified lines
741 return this;742};743744/**745 * Set / get the name for the command745 * Get the name of the command746 *747 * @param {String} name748 * @return {String|Command}749 * @api public750 */751752Command.prototype.name = function(name){753 if (0 == arguments.length) return this._name;754 this._name = name;755 return this;753 return this._name;754};755756/**757 * Return the largest option length.
165 unmodified lines