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
TopLevelCommand top = new TopLevelCommand();
SubCommandWithAlias sub = new SubCommandWithAlias();
CommandLine cmd = new CommandLine(top).addSubcommand("task", sub, "t", "t");
cmd.usage(System.out);
Prints:
Usage: cb [COMMAND]
Commands:
task, t, t, t subcommand with alias
But expected the duplicate aliases to be filtered (deduplicated):
Usage: cb [COMMAND]
Commands:
task, t subcommand with alias
The text was updated successfully, but these errors were encountered:
Example:
Prints:
But expected the duplicate aliases to be filtered (deduplicated):
The text was updated successfully, but these errors were encountered: