Join GitHub today
Accessing to a parser's recognizedOptions not only for generating help messages #38
Currently using JOpt-Simple on a project for my company, I'm facing a need which is mandatory for my coworkers. Actually, I need to be able, from a particular parser object, to get the specifications of all the recognized options.
I saw that it's possible to have this information from the
Do you have in mind an existing way of getting this field from a parser? If no, do you think it could be possible to release a new version with a getter for this field? (which I can provide, for sure, it's only a few lines for a getter). But I'd like to ensure that it's ok on your side.
If it's ok, do you have an idea of the time needed to build a new release including this feature?
Thanks a lot for your help on that topic ;)
Sounds like a reasonable feature.
Would it suffice to expose this as a
I'm thinking that such a method should produce a
Would you like to have a go at a pull request? Once merged, I can push a snapshot build to Sonatype central, and it would be available then for you to test and try out with your colleagues.
Thanks again for your interest!
Thanks a lot for your feedbacks. I completely agree with your proposition, that would be perfect. I'll try to send a pullrequest as soon as possible ;)
Thanks a lot for your help on that topic, I'll see how to implement something based on your advices ;) I'll keep you in touch ;)
referenced this issue
Nov 2, 2013
I've merged your pull request. This is in the latest 4.6-SNAPSHOT at https://oss.sonatype.org/content/repositories/snapshots/ -- thanks for contributing!