aboutsummaryrefslogtreecommitdiff
path: root/util-linux/acpid.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/acpid.c')
-rw-r--r--util-linux/acpid.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/util-linux/acpid.c b/util-linux/acpid.c
index 3c3811752..4f491fa14 100644
--- a/util-linux/acpid.c
+++ b/util-linux/acpid.c
@@ -264,8 +264,12 @@ int acpid_main(int argc UNUSED_PARAM, char **argv)
INIT_G();
- opt_complementary = "df:e--e";
- opts = getopt32(argv, "c:de:fl:a:M:" IF_FEATURE_PIDFILE("p:") IF_FEATURE_ACPID_COMPAT("g:m:s:S:v"),
+ opts = getopt32(argv, "^"
+ "c:de:fl:a:M:"
+ IF_FEATURE_PIDFILE("p:")
+ IF_FEATURE_ACPID_COMPAT("g:m:s:S:v")
+ "\0"
+ "df:e--e",
&opt_dir, &opt_input, &opt_logfile, &opt_action, &opt_map
IF_FEATURE_PIDFILE(, &opt_pidfile)
IF_FEATURE_ACPID_COMPAT(, NULL, NULL, NULL, NULL)