Reputation: 20940
I have used getopt in Python and was hoping there would be something similar in Java.
Please give a reason why your answer is better than the others.
Upvotes: 9
Views: 3126
Reputation: 13847
https://github.com/kohsuke/args4j -- has pretty good features PLUS MIT license
Upvotes: 2
Reputation:
Look at Java Simple Argument Parser. Very mature and feature complete argument parser for Java. JSAP
Upvotes: 2