mirror of
https://github.com/flynx/argv.js.git
synced 2025-10-28 18:30:07 +00:00
minor tweak...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
84b3cdce72
commit
af65a118b2
4
argv.js
4
argv.js
@ -692,10 +692,10 @@ object.Constructor('Parser', {
|
|||||||
['required value']
|
['required value']
|
||||||
: []),
|
: []),
|
||||||
...(dfl ?
|
...(dfl ?
|
||||||
[`default: ${dfl}`]
|
[`default: ${ JSON.stringify(dfl) }`]
|
||||||
: []),
|
: []),
|
||||||
...(env ?
|
...(env ?
|
||||||
[`env: \$${env}`]
|
[`env: \$${ env }`]
|
||||||
: []),
|
: []),
|
||||||
...(handler instanceof Parser ?
|
...(handler instanceof Parser ?
|
||||||
//[`more: ${ that.scriptName } ${ arg.slice(1) } -h`]
|
//[`more: ${ that.scriptName } ${ arg.slice(1) } -h`]
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ig-argv",
|
"name": "ig-argv",
|
||||||
"version": "2.15.5",
|
"version": "2.15.6",
|
||||||
"description": "simple argv parser",
|
"description": "simple argv parser",
|
||||||
"main": "argv.js",
|
"main": "argv.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user