Skip to content
Myr

Merge pull request #323 from axalix/patch-1

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

Update index.js

authored by Zhiye Li · committed by Zhiye Li · parents 29b4ea9, 3455549 · Browse files · 1 file+2 added−2 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+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:index.js+2 added-2 removed
722 unmodified lines
723 * @api private724 */725726Command.prototype.unknownOption = function(flag) {727 if(this._allowUnknownOption) return;727 if (this._allowUnknownOption) return;728 console.error();729 console.error(" error: unknown option `%s'", flag);730 console.error();731 process.exit(1);
190 unmodified lines
922 ];923 }924925 var cmdName = this._name;926 if(this._alias) {926 if (this._alias) {927 cmdName = cmdName + '|' + this._alias;928 }929 var usage = [930 ''
106 unmodified lines