diff --git a/argv.js b/argv.js index e9b11aa..ae28459 100644 --- a/argv.js +++ b/argv.js @@ -39,11 +39,20 @@ module.ERROR = //--------------------------------------------------------------------- -// helpers... +// Helpers... +// These can be useful in the argv parsing context... +// +module.normalizeIndent = object.normalizeIndent +module.normalizeTextIndent = object.normalizeTextIndent + + +// container for secondary/extra stuff... +// module.extra = {} +// function with callback generator... // // afterCallback(name) // -> func @@ -63,6 +72,7 @@ module.extra = {} // post_action(...args) // -> ... // +// var afterCallback = module.extra.afterCallback = function(name, pre, post){ diff --git a/package.json b/package.json index 8f4a4ee..0e9f470 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ig-argv", - "version": "2.2.6", + "version": "2.2.7", "description": "simple argv parser", "main": "argv.js", "scripts": {