mirror of
https://github.com/flynx/argv.js.git
synced 2025-10-28 18:30:07 +00:00
docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
54451e0451
commit
d8ef954d94
17
argv.js
17
argv.js
@ -357,6 +357,21 @@ object.Constructor('Parser', {
|
||||
|
||||
// Help...
|
||||
//
|
||||
// Formatting option spec:
|
||||
//
|
||||
// +-------------- .helpColumnOffset
|
||||
// /
|
||||
// |<------------------------>|
|
||||
//
|
||||
// -o, --option=VALUE - option doc
|
||||
// __ _ __
|
||||
// \ \ \
|
||||
// \ \ +---- .helpColumnPrefix
|
||||
// \ \
|
||||
// \ +--------------- .helpValueSeparator
|
||||
// \
|
||||
// +---------------------- .helpArgumentSeparator
|
||||
//
|
||||
// doc config...
|
||||
helpColumnOffset: 3,
|
||||
helpColumnPrefix: '- ',
|
||||
@ -369,7 +384,7 @@ object.Constructor('Parser', {
|
||||
usage: '$SCRIPTNAME [OPTIONS]',
|
||||
doc: undefined,
|
||||
examples: undefined,
|
||||
//footer: '$SCRIPTNAME ($VERSION / $LICENSE) by $AUTHOR',
|
||||
//footer: 'Written by $AUTHOR ($VERSION / $LICENSE).',
|
||||
footer: undefined,
|
||||
|
||||
// XXX should wrap long lines...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user