summaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorDenis Vlasenko2008-11-29 09:05:50 +0000
committerDenis Vlasenko2008-11-29 09:05:50 +0000
commitd16950ded91446a23a6ceef35fb3e100400301d9 (patch)
tree038faff9ea801e5d7f022b75256fc52e66186b75 /include/usage.h
parentf7d87f9b183aa28777ce09d40222fbe221d15c91 (diff)
downloadbusybox-d16950ded91446a23a6ceef35fb3e100400301d9.zip
busybox-d16950ded91446a23a6ceef35fb3e100400301d9.tar.gz
acpid: new applet by Vladimir. +737 bytes
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h
index d35f8ae..502fea7 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -16,6 +16,23 @@
#define NOUSAGE_STR "\b"
+#define acpid_trivial_usage \
+ "[-d] [-c CONFDIR] [-l LOGFILE] [-e PROC_EVENT_FILE] [EVDEV_EVENT_FILE...]"
+
+#define acpid_full_usage "\n\n" \
+ "Listen to ACPI events and spawn specific helpers on event arrival\n" \
+ "\nOptions:" \
+ "\n -d Do not daemonize and log to stderr" \
+ "\n -c DIR Config directory [/etc/acpi]" \
+ "\n -e FILE /proc event file [/proc/acpi/event]" \
+ "\n -l FILE Log file [/var/log/acpid]" \
+ USE_FEATURE_ACPID_COMPAT( \
+ "\n\nAccept and ignore compatibility options -g -m -s -S -v" \
+ )
+
+#define acpid_example_usage \
+ "# acpid -l /var/log/my-acpi-log\n" \
+ "# acpid -d /dev/input/event*\n"
#define addgroup_trivial_usage \
"[-g GID] " USE_FEATURE_ADDUSER_TO_GROUP("[user_name] ") "group_name"