With CommandOP you get a small Java library which parses command lines. The main advantage of CommandOP is that options and parameters  can be structured in a tree-like construct, unlike other command line parsers which only support flat structures.