Skip to content

Commit

Permalink
Merge pull request #93 from kode4food/patch-1
Browse files Browse the repository at this point in the history
Update lib/commander.js
  • Loading branch information
tj committed Oct 10, 2012
2 parents 53d38cf + 6394208 commit 72b4622
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/commander.js
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ Command.prototype.commandHelp = function(){
: '[' + arg.name + ']';
}).join(' ');

return cmd.name
return cmd._name
+ (cmd.options.length
? ' [options]'
: '') + ' ' + args
Expand Down

0 comments on commit 72b4622

Please sign in to comment.