Just to make you aware. For any medium scale application, handling command line arguments become a bit troublesome specially when it comes to maintenance.
Libraries like Apache Commons CLI makes your life easy. Needless to say, this is *only* required if you have (or expect to have) extensive command line options and will be an overkill for less command line options. [ November 12, 2008: Message edited by: Nitesh Kant ]