Skip to content
Myr

Merge pull request #484 from ignacioiglesias/master

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

Fixes TypeError when a command has an option called `--description`

authored by Randall Koutnik · committed by Randall Koutnik · parents 66e487f, 0399879 · Browse files · 1 file+1 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

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:index.js+1 added-1 removed
941 unmodified lines
942 cmd._name943 + (cmd._alias ? '|' + cmd._alias : '')944 + (cmd.options.length ? ' [options]' : '')945 + ' ' + args946 , cmd.description()946 , cmd._description947 ];948 });949950 var width = commands.reduce(function(max, command) {
160 unmodified lines