qutil
qutil copied to clipboard
Non-boolean parameter flags should indicate an error if there is no argument present
In this example
.utl.require "ln"
.utl.addOptDef["foo";"S";`bar;`foo];
.utl.parseArgs[];
show foo;
exit 0
If the program is called with "--foo" and no value is passed to the option, a command line error should occur.