mirror of
https://github.com/flynx/argv.js.git
synced 2025-10-28 02:10:08 +00:00
bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
3873be8713
commit
de92caa190
2
argv.js
2
argv.js
@ -794,7 +794,7 @@ object.Constructor('Parser', {
|
||||
handler: function(argv, key, value){
|
||||
// extended help...
|
||||
if(this.extendedHelp
|
||||
&& key.slice(1) == 'help'
|
||||
&& key.replace(this.optionInputPattern, '$2') == 'help'
|
||||
&& this['-help'] == '-h'){
|
||||
for(var n in this){
|
||||
// only print if extended help available...
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ig-argv",
|
||||
"version": "2.16.7",
|
||||
"version": "2.16.8",
|
||||
"description": "simple argv parser",
|
||||
"main": "argv.js",
|
||||
"scripts": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user