diff options
author | Norbert Lange | 2020-02-14 22:16:11 +0100 |
---|---|---|
committer | Denys Vlasenko | 2020-06-29 14:11:03 +0200 |
commit | 79bd7c3f7b37b3b7f85b982bdb4fb9058d6d3a8c (patch) | |
tree | 351dae4db7ae06c0ddc18580f8e390f65b19b13a /util-linux | |
parent | 05faa6103bf85ecf362ad677ce761e2266311e3b (diff) | |
download | busybox-79bd7c3f7b37b3b7f85b982bdb4fb9058d6d3a8c.zip busybox-79bd7c3f7b37b3b7f85b982bdb4fb9058d6d3a8c.tar.gz |
acpid: only display -p if supported in usage
Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/acpid.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util-linux/acpid.c b/util-linux/acpid.c index 95f8150..fc8215c 100644 --- a/util-linux/acpid.c +++ b/util-linux/acpid.c @@ -42,7 +42,9 @@ //usage: "\n -c DIR Config directory [/etc/acpi]" //usage: "\n -e FILE /proc event file [/proc/acpi/event]" //usage: "\n -l FILE Log file [/var/log/acpid.log]" -//usage: "\n -p FILE Pid file [/var/run/acpid.pid]" +//usage: IF_FEATURE_PIDFILE( +//usage: "\n -p FILE Pid file [" CONFIG_PID_FILE_PATH "/acpid.pid]" +//usage: ) //usage: "\n -a FILE Action file [/etc/acpid.conf]" //usage: "\n -M FILE Map file [/etc/acpi.map]" //usage: IF_FEATURE_ACPID_COMPAT( |