diff options
author | Pere Orga <gotrunks@gmail.com> | 2011-04-11 03:29:49 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-04-11 03:29:49 +0200 |
commit | 5bc8c005a8e15c43285bc595a8d404de67a482ac (patch) | |
tree | 98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /procps/sysctl.c | |
parent | 73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff) | |
download | busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.gz busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.bz2 busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.zip |
move remaining help text from include/usage.src.h
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps/sysctl.c')
-rw-r--r-- | procps/sysctl.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/procps/sysctl.c b/procps/sysctl.c index aba966e7f..f36548f87 100644 --- a/procps/sysctl.c +++ b/procps/sysctl.c | |||
@@ -11,6 +11,25 @@ | |||
11 | * v1.01.1 - busybox applet aware by <solar@gentoo.org> | 11 | * v1.01.1 - busybox applet aware by <solar@gentoo.org> |
12 | */ | 12 | */ |
13 | 13 | ||
14 | //usage:#define sysctl_trivial_usage | ||
15 | //usage: "[OPTIONS] [VALUE]..." | ||
16 | //usage:#define sysctl_full_usage "\n\n" | ||
17 | //usage: "Configure kernel parameters at runtime\n" | ||
18 | //usage: "\nOptions:" | ||
19 | //usage: "\n -n Don't print key names" | ||
20 | //usage: "\n -e Don't warn about unknown keys" | ||
21 | //usage: "\n -w Change sysctl setting" | ||
22 | //usage: "\n -p FILE Load sysctl settings from FILE (default /etc/sysctl.conf)" | ||
23 | //usage: "\n -a Display all values" | ||
24 | //usage: "\n -A Display all values in table form" | ||
25 | //usage: | ||
26 | //usage:#define sysctl_example_usage | ||
27 | //usage: "sysctl [-n] [-e] variable...\n" | ||
28 | //usage: "sysctl [-n] [-e] -w variable=value...\n" | ||
29 | //usage: "sysctl [-n] [-e] -a\n" | ||
30 | //usage: "sysctl [-n] [-e] -p file (default /etc/sysctl.conf)\n" | ||
31 | //usage: "sysctl [-n] [-e] -A\n" | ||
32 | |||
14 | #include "libbb.h" | 33 | #include "libbb.h" |
15 | 34 | ||
16 | enum { | 35 | enum { |