You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
foo
foo bar
foo bar baz
<literal foo>: foo [bar] [baz]
The actual output is:
foo
foo bar
foo bar baz
<literal foo>: foo [bar]
Note, that the smart usage is missing the optional baz argument at the end.
The command dispatcher actually does have a javadoc, however for smart usage it only says "These forms may be mixed and matched to provide as much information about the child nodes as it can, without being too verbose". (These forms is referring to literal, <arg>, [opt] and (either|or)).
It's unclear how "providing as much information as it can without being too verbose" is actually meant.
Imo there is no reason not to provide this information. It's also confusing since the user probably does not expect any further possible arguments after bar.
The text was updated successfully, but these errors were encountered:
Because of the lack of documentation, I have no idea if this is by design or not.
Consider following example:
The expected output is:
The actual output is:
Note, that the smart usage is missing the optional baz argument at the end.
The command dispatcher actually does have a javadoc, however for smart usage it only says "These forms may be mixed and matched to provide as much information about the child nodes as it can, without being too verbose". (These forms is referring to
literal
,<arg>
,[opt]
and(either|or)
).It's unclear how "providing as much information as it can without being too verbose" is actually meant.
Imo there is no reason not to provide this information. It's also confusing since the user probably does not expect any further possible arguments after bar.
The text was updated successfully, but these errors were encountered: