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)
commitcfb74b3b81fb7063920f9143d98a9be7a31a77d7
tree6e152a982a59070414ca3608bb75e55065f7148c
parent69d4a1e9b8776fe321cf077d7abfb2b1a13586fe
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