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
The problem does not occur when we define only a name with double '-' for such an option.
@Command(mixinStandardHelpOptions = true)
public class ExampleCommand {
@Option(names = { "--b" }, arity = "1")
boolean booleanWithArity1;
}
Usage: <main class> [-hV] [--b=<booleanWithArity1>]
--b=<booleanWithArity1>
-h, --help Show this help message and exit.
-V, --version Print version information and exit.
The text was updated successfully, but these errors were encountered:
If we print help for the following example command
the message looks like this
As we expect value for the '-b' option, I think that usage line should look like
The problem does not occur when we define only a name with double '-' for such an option.
The text was updated successfully, but these errors were encountered: