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