Comparing version 1.0.1 to 1.0.2
@@ -708,6 +708,9 @@ var MAX_LINE_WIDTH = process.stdout.columns || 200; | ||
if (i == commands.length - 1) | ||
command.action_(item.args, item.literalArgs); | ||
else | ||
prevCommand = command; | ||
prevCommand = command; | ||
} | ||
// return last command action result | ||
if (command) | ||
return command.action_(item.args, item.literalArgs); | ||
}, | ||
@@ -714,0 +717,0 @@ |
@@ -6,3 +6,3 @@ { | ||
"author": "Roman Dvornov <rdvornov@gmail.com>", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"keywords": ["cli", "command", "option", "argument", "completion"], | ||
@@ -9,0 +9,0 @@ "homepage": "https://github.com/lahmatiy/clap", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21351
721