mirror of
https://github.com/flynx/argv.js.git
synced 2025-10-28 18:30:07 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
88e189142d
commit
fb0566f54c
5
argv.js
5
argv.js
@ -106,7 +106,7 @@ var afterCallbackCall = function(name, context, ...args){
|
||||
//
|
||||
//
|
||||
// XXX --help should work for any command and not just for the nested
|
||||
// parser commands...
|
||||
// parser commands... (???)
|
||||
// ...not sure how to implement this...
|
||||
// .....or should it be the responsibility of the user defining
|
||||
// the command???
|
||||
@ -141,7 +141,6 @@ object.Constructor('Parser', {
|
||||
// ...
|
||||
// ]
|
||||
//
|
||||
// XXX add option groups... (???)
|
||||
options: function(...prefix){
|
||||
var that = this
|
||||
prefix = prefix.length == 0 ?
|
||||
@ -220,6 +219,7 @@ object.Constructor('Parser', {
|
||||
examples: undefined,
|
||||
footer: undefined,
|
||||
|
||||
// XXX should wrap long lines...
|
||||
alignColumns: function(a, b, ...rest){
|
||||
var opts_width = this.helpColumnOffset || 4
|
||||
var prefix = this.helpColumnPrefix || ''
|
||||
@ -365,7 +365,6 @@ object.Constructor('Parser', {
|
||||
// convert(value)
|
||||
// : value },
|
||||
//
|
||||
// XXX would be nice to be able to collect arrays...
|
||||
// XXX should we define a handler.type handler???
|
||||
handleArgumentValue: false,
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user