aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-11-29 06:40:28 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-11-29 06:40:28 +0000
commit64309f8669f08f2c3c16a3b5bf82d9cae84ec388 (patch)
treef71b0a8578a8cdfa8b610b98f2e4a2a8ed4a37e5 /include
parent745cd17926a9d75cdd6482d5ce58227b492d1ebe (diff)
downloadbusybox-64309f8669f08f2c3c16a3b5bf82d9cae84ec388.tar.gz
sysctl: add -e: supress warnings about invalid key (Jeremy Kerr <jk@ozlabs.org>)
code shrink: text data bss dec hex filename 775565 929 9100 785594 bfcba busybox_old 775296 929 9100 785325 bfbad busybox_unstripped
Diffstat (limited to 'include')
-rw-r--r--include/usage.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/usage.h b/include/usage.h
index d910e2bf6..0ae819a1a 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3505,16 +3505,17 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
"Configure kernel parameters at runtime" \
"\n\nOptions:\n" \
" -n Disable printing of key names\n" \
+ " -e Don't warn about unknown keys\n" \
" -w Change sysctl setting\n" \
" -p FILE Load sysctl settings from FILE (default /etc/sysctl.conf)\n" \
" -a Display all values\n" \
" -A Display all values in table form"
#define sysctl_example_usage \
- "sysctl [-n] variable...\n" \
- "sysctl [-n] -w variable=value...\n" \
- "sysctl [-n] -a\n" \
- "sysctl [-n] -p file (default /etc/sysctl.conf)\n" \
- "sysctl [-n] -A\n"
+ "sysctl [-n] [-e] variable...\n" \
+ "sysctl [-n] [-e] -w variable=value...\n" \
+ "sysctl [-n] [-e] -a\n" \
+ "sysctl [-n] [-e] -p file (default /etc/sysctl.conf)\n" \
+ "sysctl [-n] [-e] -A\n"
#define syslogd_trivial_usage \
"[OPTION]..."