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 7139f0b..93517bf 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]
        );