LXer: Parse command options in Java with commons-cli
by LXer from LinuxQuestions.org on (#5NAQC)
Published at LXer:
When you enter a command into your terminal, whether it[he]#039[/he]s to launch a GUI app or just a terminal app, there are often options (sometimes called switches or flags) you can use to modify how the application runs. This is a standard set by the POSIX specification, so it[he]#039[/he]s useful for a Java programmer to know how to detect and parse options.
Read More...


When you enter a command into your terminal, whether it[he]#039[/he]s to launch a GUI app or just a terminal app, there are often options (sometimes called switches or flags) you can use to modify how the application runs. This is a standard set by the POSIX specification, so it[he]#039[/he]s useful for a Java programmer to know how to detect and parse options.
Read More...