nugend/qutil

Non-boolean parameter flags should indicate an error if there is no argument present

nugend opened this issue · 0 comments

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.