Closed iffy closed 3 years ago
I wonder if parse should raise ShortCircuit when one is encountered, rather than having people check for .help == true?
parse
.help == true
test "required options still allow for --help": var p = newParser: option("-b", required=true) expect ShortCircuit: discard p.parse(shlex"--help")
I wonder if
parse
should raise ShortCircuit when one is encountered, rather than having people check for.help == true
?