diff options
Diffstat (limited to 'node_modules/argparse/README.md')
-rw-r--r-- | node_modules/argparse/README.md | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/node_modules/argparse/README.md b/node_modules/argparse/README.md index 2d0bcab43..7fa6c4050 100644 --- a/node_modules/argparse/README.md +++ b/node_modules/argparse/README.md @@ -1,7 +1,7 @@ argparse ======== -[](http://travis-ci.org/nodeca/argparse) +[](http://travis-ci.org/nodeca/argparse) [](https://www.npmjs.org/package/argparse) CLI arguments parser for node.js. Javascript port of python's @@ -13,6 +13,10 @@ recorded in issue tracker. - Method names changed to camelCase. See [generated docs](http://nodeca.github.com/argparse/). - Use `defaultValue` instead of `default`. +- Use `argparse.Const.REMAINDER` instead of `argparse.REMAINDER`, and + similarly for constant values `OPTIONAL`, `ZERO_OR_MORE`, and `ONE_OR_MORE` + (aliases for `nargs` values `'?'`, `'*'`, `'+'`, respectively), and + `SUPPRESS`. Example @@ -82,7 +86,7 @@ ArgumentParser objects ====================== ``` -new ArgumentParser({paramters hash}); +new ArgumentParser({parameters hash}); ``` Creates a new ArgumentParser object. @@ -100,7 +104,7 @@ Creates a new ArgumentParser object. - ```usage``` - The string describing the program usage (default: generated) - ```conflictHandler``` - Usually unnecessary, defines strategy for resolving conflicting optionals. -**Not supportied yet** +**Not supported yet** - ```fromfilePrefixChars``` - The set of characters that prefix files from which additional arguments should be read. |