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 /util-linux/acpid.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 'util-linux/acpid.c')
-rw-r--r-- | util-linux/acpid.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/util-linux/acpid.c b/util-linux/acpid.c index ce4c98ebe..c9eed2a7f 100644 --- a/util-linux/acpid.c +++ b/util-linux/acpid.c | |||
@@ -6,6 +6,30 @@ | |||
6 | * | 6 | * |
7 | * Licensed under GPLv2, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | |||
10 | //usage:#define acpid_trivial_usage | ||
11 | //usage: "[-d] [-c CONFDIR] [-l LOGFILE] [-a ACTIONFILE] [-M MAPFILE] [-e PROC_EVENT_FILE] [-p PIDFILE]" | ||
12 | //usage:#define acpid_full_usage "\n\n" | ||
13 | //usage: "Listen to ACPI events and spawn specific helpers on event arrival\n" | ||
14 | //usage: "\nOptions:" | ||
15 | //usage: "\n -c DIR Config directory [/etc/acpi]" | ||
16 | //usage: "\n -d Don't daemonize, (implies -f)" | ||
17 | //usage: "\n -e FILE /proc event file [/proc/acpi/event]" | ||
18 | //usage: "\n -f Run in foreground" | ||
19 | //usage: "\n -l FILE Log file [/var/log/acpid.log]" | ||
20 | //usage: "\n -p FILE Pid file [/var/run/acpid.pid]" | ||
21 | //usage: "\n -a FILE Action file [/etc/acpid.conf]" | ||
22 | //usage: "\n -M FILE Map file [/etc/acpi.map]" | ||
23 | //usage: IF_FEATURE_ACPID_COMPAT( | ||
24 | //usage: "\n\nAccept and ignore compatibility options -g -m -s -S -v" | ||
25 | //usage: ) | ||
26 | //usage: | ||
27 | //usage:#define acpid_example_usage | ||
28 | //usage: "Without -e option, acpid uses all /dev/input/event* files\n" | ||
29 | //usage: "# acpid\n" | ||
30 | //usage: "# acpid -l /var/log/my-acpi-log\n" | ||
31 | //usage: "# acpid -e /proc/acpi/event\n" | ||
32 | |||
9 | #include "libbb.h" | 33 | #include "libbb.h" |
10 | #include <syslog.h> | 34 | #include <syslog.h> |
11 | #include <linux/input.h> | 35 | #include <linux/input.h> |