diff options
Diffstat (limited to 'util-linux/acpid.c')
-rw-r--r-- | util-linux/acpid.c | 8 |
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) | |||
264 | 264 | ||
265 | INIT_G(); | 265 | INIT_G(); |
266 | 266 | ||
267 | opt_complementary = "df:e--e"; | 267 | opts = getopt32(argv, "^" |
268 | opts = getopt32(argv, "c:de:fl:a:M:" IF_FEATURE_PIDFILE("p:") IF_FEATURE_ACPID_COMPAT("g:m:s:S:v"), | 268 | "c:de:fl:a:M:" |
269 | IF_FEATURE_PIDFILE("p:") | ||
270 | IF_FEATURE_ACPID_COMPAT("g:m:s:S:v") | ||
271 | "\0" | ||
272 | "df:e--e", | ||
269 | &opt_dir, &opt_input, &opt_logfile, &opt_action, &opt_map | 273 | &opt_dir, &opt_input, &opt_logfile, &opt_action, &opt_map |
270 | IF_FEATURE_PIDFILE(, &opt_pidfile) | 274 | IF_FEATURE_PIDFILE(, &opt_pidfile) |
271 | IF_FEATURE_ACPID_COMPAT(, NULL, NULL, NULL, NULL) | 275 | IF_FEATURE_ACPID_COMPAT(, NULL, NULL, NULL, NULL) |