]> pilppa.com Git - uci.git/commitdiff
add strict mode to the cli usage
authorFelix Fietkau <nbd@openwrt.org>
Wed, 30 Jan 2008 02:02:23 +0000 (03:02 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 30 Jan 2008 02:02:23 +0000 (03:02 +0100)
cli.c

diff --git a/cli.c b/cli.c
index 7139f0bddd697ba7d109fdf1c899808de61d069f..93517bf392b26a54b25f3f814eefa15ed7140278 100644 (file)
--- a/cli.c
+++ b/cli.c
@@ -33,6 +33,10 @@ static void uci_usage(int argc, char **argv)
                "\tshow     [<config>[.<section>[.<option>]]]\n"
                "\tget      <config>.<section>[.<option>]\n"
                "\tset      <config>.<section>[.<option>]=<value>\n"
+               "\n"
+               "Options:\n"
+               "\t-s       force strict mode (stop on parser errors)\n"
+               "\t-S       disable strict mode\n"
                "\n",
                argv[0]
        );