simple-argparse
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -81,3 +81,3 @@ /* | ||
this._commands = { }; | ||
this._default = this.showHelp; | ||
this._default = this.showHelp.bind(this); | ||
this._width = 0; | ||
@@ -182,3 +182,3 @@ this._out = isFunction(stdout) ? stdout : console.log; | ||
var command = args[0]; | ||
if (command === undefined || command[0] === "-") { | ||
if (command === undefined || command === "" || command[0] === "-") { | ||
context = argv(args); | ||
@@ -185,0 +185,0 @@ context._option = "default"; |
{ | ||
"name": "simple-argparse", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Simple Argument parser for Command-line Applications", | ||
"homepage": "https://github.com/forfuture-dev/node-simple-argparse", | ||
"homepage": "https://github.com/forfutureLLC/node-simple-argparse", | ||
"license": "MIT", | ||
@@ -24,3 +24,3 @@ "repository": { | ||
"dependencies": { | ||
"minimist": "^1.1.1" | ||
"minimist": "^1.1.2" | ||
}, | ||
@@ -27,0 +27,0 @@ "devDependencies": { |
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
13319
Updatedminimist@^1.1.2