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
fd2eb0e0ed
commit
e685e3d74a
2
argv.js
2
argv.js
@ -203,6 +203,7 @@ function(name, pre, post){
|
||||
// ...manually this is trivial, automating it would complicate things,
|
||||
// will think about it when we need this feature more than once...
|
||||
//
|
||||
// XXX should type handlers produce errors???
|
||||
// XXX add support for ParserError exception handling...
|
||||
// XXX should -help should work for any command? ..not just nested parsers?
|
||||
// ...should we indicate which thinks have more "-help"??
|
||||
@ -210,6 +211,7 @@ function(name, pre, post){
|
||||
var Parser =
|
||||
module.Parser =
|
||||
object.Constructor('Parser', {
|
||||
// XXX should type handlers produce errors???
|
||||
typeHandlers: {
|
||||
int: parseInt,
|
||||
float: parseFloat,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user