diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-29 06:40:28 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-29 06:40:28 +0000 |
commit | 64309f8669f08f2c3c16a3b5bf82d9cae84ec388 (patch) | |
tree | f71b0a8578a8cdfa8b610b98f2e4a2a8ed4a37e5 /include | |
parent | 745cd17926a9d75cdd6482d5ce58227b492d1ebe (diff) | |
download | busybox-w32-64309f8669f08f2c3c16a3b5bf82d9cae84ec388.tar.gz busybox-w32-64309f8669f08f2c3c16a3b5bf82d9cae84ec388.tar.bz2 busybox-w32-64309f8669f08f2c3c16a3b5bf82d9cae84ec388.zip |
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.h | 11 |
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 | |||
3505 | "Configure kernel parameters at runtime" \ | 3505 | "Configure kernel parameters at runtime" \ |
3506 | "\n\nOptions:\n" \ | 3506 | "\n\nOptions:\n" \ |
3507 | " -n Disable printing of key names\n" \ | 3507 | " -n Disable printing of key names\n" \ |
3508 | " -e Don't warn about unknown keys\n" \ | ||
3508 | " -w Change sysctl setting\n" \ | 3509 | " -w Change sysctl setting\n" \ |
3509 | " -p FILE Load sysctl settings from FILE (default /etc/sysctl.conf)\n" \ | 3510 | " -p FILE Load sysctl settings from FILE (default /etc/sysctl.conf)\n" \ |
3510 | " -a Display all values\n" \ | 3511 | " -a Display all values\n" \ |
3511 | " -A Display all values in table form" | 3512 | " -A Display all values in table form" |
3512 | #define sysctl_example_usage \ | 3513 | #define sysctl_example_usage \ |
3513 | "sysctl [-n] variable...\n" \ | 3514 | "sysctl [-n] [-e] variable...\n" \ |
3514 | "sysctl [-n] -w variable=value...\n" \ | 3515 | "sysctl [-n] [-e] -w variable=value...\n" \ |
3515 | "sysctl [-n] -a\n" \ | 3516 | "sysctl [-n] [-e] -a\n" \ |
3516 | "sysctl [-n] -p file (default /etc/sysctl.conf)\n" \ | 3517 | "sysctl [-n] [-e] -p file (default /etc/sysctl.conf)\n" \ |
3517 | "sysctl [-n] -A\n" | 3518 | "sysctl [-n] [-e] -A\n" |
3518 | 3519 | ||
3519 | #define syslogd_trivial_usage \ | 3520 | #define syslogd_trivial_usage \ |
3520 | "[OPTION]..." | 3521 | "[OPTION]..." |