mirror of
https://github.com/flynx/argv.js.git
synced 2025-10-28 10:20:09 +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){
|
handler: function(argv, key, value){
|
||||||
// extended help...
|
// extended help...
|
||||||
if(this.extendedHelp
|
if(this.extendedHelp
|
||||||
&& key.slice(1) == 'help'
|
&& key.replace(this.optionInputPattern, '$2') == 'help'
|
||||||
&& this['-help'] == '-h'){
|
&& this['-help'] == '-h'){
|
||||||
for(var n in this){
|
for(var n in this){
|
||||||
// only print if extended help available...
|
// only print if extended help available...
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ig-argv",
|
"name": "ig-argv",
|
||||||
"version": "2.16.7",
|
"version": "2.16.8",
|
||||||
"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