minor fix

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-12-12 09:27:27 +03:00
parent 6dc0cd1dbc
commit cb56060d4c
2 changed files with 2 additions and 2 deletions

View File

@ -1167,7 +1167,7 @@ object.Constructor('Parser', {
parsed.argv = rest.slice()
main = main
|| (require.main || {}).filename
|| parsed.argv[1]
// || parsed.argv[1]
// nested command handler...
var nested = parsed.parent = false
if(context instanceof Parser){

View File

@ -1,6 +1,6 @@
{
"name": "ig-argv",
"version": "2.16.0",
"version": "2.16.1",
"description": "simple argv parser",
"main": "argv.js",
"scripts": {