projects
/
oweals
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7c461d
)
add strict mode to the cli usage
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 30 Jan 2008 02:02:23 +0000
(
03:02
+0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 30 Jan 2008 02:02:23 +0000
(
03:02
+0100)
cli.c
patch
|
blob
|
history
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]
);