more docs...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-07-29 20:29:33 +03:00
parent 2c4764341a
commit dbd7653e23

View File

@ -251,7 +251,19 @@ var parser = argv.Parser({
//
// These define .handler's...
// XXX .handler
'-active': {
doc: 'basic active option',
handler: function(args, key, value){
// ...
} },
// a shorthand active option...
// NOTE: this is recomended only for quick and dirty mashups and not
// for production code...
'-s': '-shorthand-active',
'-shorthand-active': function(args, key, value){
// ...
},
// Nested parsers...