The command line utilities in org.apache.avalon.excalibur.cli
assist you in parsing command line options during startup time. It
allows you to associate a short option and a long option to the same
command, and then test for it in a switch statement.
An example of how to use this code is included in the package API documentation.