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

Airline incorrectly consumes (i.e. ignores) a value when defaulting in some circumstances #99

Closed rvesse closed 5 years ago

rvesse commented 5 years ago

Discovered a corner case where Airline incorrectly consumes and thus effectively ignores a value. This happens when using a group that has a default command AND with command abbreviation enabled. In this case Airline incorrectly consumes (i.e. ignores) the first non-command value which can lead to incorrect parsing of the user input.

rvesse commented 5 years ago

Fixed in 2.7.1