bugfix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-01-25 01:25:09 +03:00
parent 3873be8713
commit de92caa190
2 changed files with 2 additions and 2 deletions

View File

@ -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...

View File

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