Comparing version 1.2.1 to 1.2.2
@@ -0,1 +1,6 @@ | ||
## 1.2.2 (September 18, 2017) | ||
- Fixed context passed to `Command#args()`, now it's a command as expected (#10) | ||
- Fixed consuming of literal arguments that wrongly concating with other arguments (i.e. anything going after `--` concats with arguments before `--`) | ||
## 1.2.1 (September 18, 2017) | ||
@@ -2,0 +7,0 @@ |
@@ -355,2 +355,4 @@ var MAX_LINE_WIDTH = process.stdout.columns || 200; | ||
{ | ||
resultToken.args = commandArgs; | ||
commandArgs = []; | ||
noOptionsYet = false; | ||
@@ -733,3 +735,3 @@ collectArgs = true; | ||
if (item.args.length) | ||
command.args_.apply(command.args_, item.args); | ||
command.args_.apply(command, item.args); | ||
@@ -736,0 +738,0 @@ // apply regular options |
@@ -7,3 +7,3 @@ { | ||
"license": "MIT", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"keywords": [ | ||
@@ -10,0 +10,0 @@ "cli", |
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
25336
769