Skip to content

Commit

Permalink
Add debugging note with issue for mixed action/executable
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowspawn committed Jul 20, 2019
1 parent 6d5e11a commit facd66f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Expand Up @@ -459,6 +459,7 @@ Command.prototype.parse = function(argv) {
var result = this.parseArgs(this.args, parsed.unknown);

// executable sub-commands
// (Debugging note for future: args[0] is not right if an action has been called)
var name = result.args[0];
var subCommand = null;

Expand Down

0 comments on commit facd66f

Please sign in to comment.