Skip to content

Commit

Permalink
Merge pull request #484 from ignacioiglesias/master
Browse files Browse the repository at this point in the history
Fixes TypeError when a command has an option called `--description`
  • Loading branch information
SomeKittens committed Jan 6, 2016
2 parents 66e487f + 0399879 commit 1452f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -943,7 +943,7 @@ Command.prototype.commandHelp = function() {
+ (cmd._alias ? '|' + cmd._alias : '')
+ (cmd.options.length ? ' [options]' : '')
+ ' ' + args
, cmd.description()
, cmd._description
];
});

Expand Down

0 comments on commit 1452f6f

Please sign in to comment.