It seems if a command-like argument (like a keyword) is use in an optional block, it matches the wrong thing.
In the following repro, "cmd" is matched with "opt1" if "keyword" is not specified. If it is specified it works fine.
Note that if instead of a keyword, an option (like "--option") is specified it works fine.
It seems if a command-like argument (like a keyword) is use in an optional block, it matches the wrong thing. In the following repro,
"cmd"
is matched with"opt1"
if"keyword"
is not specified. If it is specified it works fine. Note that if instead of a keyword, an option (like"--option"
) is specified it works fine.