summaryrefslogtreecommitdiffhomepage
path: root/procps/sysctl.c
diff options
context:
space:
mode:
authorPere Orga <gotrunks@gmail.com>2011-04-11 03:29:49 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-04-11 03:29:49 +0200
commit5bc8c005a8e15c43285bc595a8d404de67a482ac (patch)
tree98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /procps/sysctl.c
parent73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff)
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.c19
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 @@
* v1.01.1 - busybox applet aware by <solar@gentoo.org>
*/
+//usage:#define sysctl_trivial_usage
+//usage: "[OPTIONS] [VALUE]..."
+//usage:#define sysctl_full_usage "\n\n"
+//usage: "Configure kernel parameters at runtime\n"
+//usage: "\nOptions:"
+//usage: "\n -n Don't print key names"
+//usage: "\n -e Don't warn about unknown keys"
+//usage: "\n -w Change sysctl setting"
+//usage: "\n -p FILE Load sysctl settings from FILE (default /etc/sysctl.conf)"
+//usage: "\n -a Display all values"
+//usage: "\n -A Display all values in table form"
+//usage:
+//usage:#define sysctl_example_usage
+//usage: "sysctl [-n] [-e] variable...\n"
+//usage: "sysctl [-n] [-e] -w variable=value...\n"
+//usage: "sysctl [-n] [-e] -a\n"
+//usage: "sysctl [-n] [-e] -p file (default /etc/sysctl.conf)\n"
+//usage: "sysctl [-n] [-e] -A\n"
+
#include "libbb.h"
enum {