We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example that reproduce the issue:
public class EnumTest { @Option(names = "-list", description = "Multiple days. Valid values: ${COMPLETION-CANDIDATES}") List<DayOfWeek> daysOfWeek; @Option(names = "-single", description = "Single day. Valid values: ${COMPLETION-CANDIDATES}") DayOfWeek dayOfWeek; public static void main(String[] args) { new CommandLine(new EnumTest()).usage(System.out); } }
Actual output:
Usage: <main class> [-single=<dayOfWeek>] [-list=<daysOfWeek>]... -list=<daysOfWeek> Multiple days. Valid values: -single=<dayOfWeek> Single day. Valid values: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY
Expected output: The -list option should also display the enum values.
-list
The text was updated successfully, but these errors were encountered:
3ddbd15
No branches or pull requests
Example that reproduce the issue:
Actual output:
Expected output:
The
-list
option should also display the enum values.The text was updated successfully, but these errors were encountered: