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

@Pattern should support friendly explanation for Help Hints #48

Closed rvesse closed 7 years ago

rvesse commented 8 years ago

While the @Pattern restriction annotation allows for very powerful restrictions upon the value of an option or argument the resulting error messages may not be particularly helpful to end users. Therefore this annotation should support an optional field that allows a developer to specify a friendly explanatory text that describes the intent of the restriction more clearly