swconfig: clean up command line parsing
authorFelix Fietkau <nbd@openwrt.org>
Mon, 15 Feb 2010 17:28:56 +0000 (17:28 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 15 Feb 2010 17:28:56 +0000 (17:28 +0000)
commitaea5b150ef31c47cf7a04179f8416c828134281d
treefec8ce87093ef9a3051e9b991951ef2219517047
parentb2a5034a92a530108138e24eeecbaa5c76647986
swconfig: clean up command line parsing

The command line parser was unsystematic and it silently ignored
many illegal combinations of options. Try to clean that up.

Signed-off-by: Martin Mares <mj@ucw.cz>
SVN-Revision: 19639
package/swconfig/src/cli.c