swconfig: clean up command line parsing
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 15 Feb 2010 17:28:56 +0000 (17:28 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 15 Feb 2010 17:28:56 +0000 (17:28 +0000)
commit958c69f1aa8d85dd3d98b934367dfb7b3127391e
treefec8ce87093ef9a3051e9b991951ef2219517047
parent29616c3532b380bdba78a5c256eabdce19ed2f82
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19639 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/swconfig/src/cli.c