JOpt Simple is a simple, test-driven command line parser for Java programs. It supports POSIX getopt() and GNU getopt_long().
More...