added basic doc to readme...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-07-19 18:27:58 +03:00
parent 1aeb1697be
commit d6c676ba91

View File

@ -134,7 +134,11 @@ Option definitions in a bit more detail
XXX make this a set of practical options and leave the attr explanation to later...
```javascript
var parser = argv.Parser({
// XXX config...
// doc sections...
doc: 'Example script options',
author: 'John Smith <j.smith@some-mail.com>',
footer: 'Written by $AUTHOR ($VERSION / $LICENSE).',
license: 'BSD-3-Clause',
// alias, this tells the parser that '-b' is the same as '-basic'
'-b': '-basic',