rvesse / airline

Java annotation-based framework for parsing Git like command line structures with deep extensibility
https://rvesse.github.io/airline/
Apache License 2.0
128 stars 20 forks source link

Allowed Values restrictions have bugs with case sensitivity #100

Closed rvesse closed 5 years ago

rvesse commented 5 years ago

Two closely related bugs:

  1. @AllowedEnumValues incorrectly sets the case insensitive flag to true when actually it should be case sensitive. This results in erroneous help hints in help output stating that the values are case insensitive when this is not the case
  2. @AllowedRawValues does not handle case insensitivity properly actually requiring that values be specified in lower case