From e685e3d74a0424334307ba8f59b1e0680fb5b720 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 20 Jul 2020 18:24:58 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- argv.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/argv.js b/argv.js index 8f4b43e..e9b11aa 100644 --- a/argv.js +++ b/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,