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)
commitf5d08467e2f10d26d26e5a58ac4f52e450cd2779
treefec8ce87093ef9a3051e9b991951ef2219517047
parent43980b09ecd29dba379452d463e11a71a8ccf7e6
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