minor tweak...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-12-10 05:57:32 +03:00
parent 84b3cdce72
commit af65a118b2
2 changed files with 3 additions and 3 deletions

View File

@ -692,10 +692,10 @@ object.Constructor('Parser', {
['required value']
: []),
...(dfl ?
[`default: ${dfl}`]
[`default: ${ JSON.stringify(dfl) }`]
: []),
...(env ?
[`env: \$${env}`]
[`env: \$${ env }`]
: []),
...(handler instanceof Parser ?
//[`more: ${ that.scriptName } ${ arg.slice(1) } -h`]

View File

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