Softhouse / jargo

Argument and options parser for java
Other
17 stars 0 forks source link

No way to customize usage argument ordering #32

Open mmadson opened 8 years ago

mmadson commented 8 years ago

Title pretty much says it all, I'd like to be able to control the order that the arguments appear in the usage.

jontejj commented 8 years ago

I'm interested in why you want another sorting than by name? We could solve it in multiple ways: by passing in a comparator to CommandLineParser or by setting a priority on each Argument. The ones without, would be at the end. Having a use case would be nice to understand which one of these would be better.