JOpt Simple is my
simple, test-driven command line options parser library for Java. It
aims to support the rules of POSIX getopt() and GNU getopt_long().
There are plenty of libraries that perform this task, but I think
you'll find that JOpt Simple holds up very well against them in ease of
use, simplicity, and design. I would love to hear your feedback on
this library!