Comparing version 3.1.0 to 3.1.1
@@ -90,3 +90,3 @@ import CliError from './parse-argv-error.js'; | ||
if (token[0] === '-') { | ||
if (token[1] === '-') { | ||
if (token[1] === '-' || token.length === 2) { | ||
// long option | ||
@@ -93,0 +93,0 @@ const option = command.getOption(token); |
{ | ||
"name": "clap", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "Command line argument parser", | ||
@@ -5,0 +5,0 @@ "author": "Roman Dvornov <rdvornov@gmail.com>", |
Sorry, the diff of this file is not supported yet
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
47306