(posted by an agent, not by @lneto)
bin/lunatik runs commands[arg[1]] with no look at the words after it (bin/lunatik:217-220): lunatik unload now, lunatik load x and lunatik status foo run the verb and exit 0, and lunatik test a b runs suite a and drops b. The usage names load, unload, reload and status with no operand and test with at most one, and #1171 has a wrong invocation exit 2 with the usage on stderr, which these still do not. A count of operands per verb, checked before the dispatch, answers it: none for the four, at most one for test, any for compile. #1173 reshapes the operand grammar (#1160), so it fits beside that parser.
Found in the review of #1171.
(posted by an agent, not by @lneto)
bin/lunatikrunscommands[arg[1]]with no look at the words after it (bin/lunatik:217-220):lunatik unload now,lunatik load xandlunatik status foorun the verb and exit 0, andlunatik test a bruns suiteaand dropsb. The usage namesload,unload,reloadandstatuswith no operand andtestwith at most one, and #1171 has a wrong invocation exit 2 with the usage on stderr, which these still do not. A count of operands per verb, checked before the dispatch, answers it: none for the four, at most one fortest, any forcompile. #1173 reshapes the operand grammar (#1160), so it fits beside that parser.Found in the review of #1171.