airlift / airline

Java annotation-based framework for parsing Git like command line structures
Apache License 2.0
847 stars 138 forks source link

Fix Issue #26 #27

Closed rvesse closed 9 years ago

rvesse commented 10 years ago

Modifies Parser so that the allowedValues for an option are honoured and an error thrown on illegal values

Includes unit test which verifies the improve behaviour

rvesse commented 10 years ago

@dain Copyright header should now be Apache 2 like the rest of airline

rvesse commented 9 years ago

I have brought my fork back up to date with master and this fix can now be merged again

rvesse commented 9 years ago

I've now forked my own variant of airline with this and various other changes I wanted so I am closing this pull request since this is no longer a self-contained feature in my fork

cread commented 5 years ago

Why did this never get fixed? It's causing me problems right now...

rvesse commented 5 years ago

@cread My fork at http://github.com/rvesse/airline has this and many other fixes that have never been accepted here