diff options
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/getopt.c | 2 | ||||
-rw-r--r-- | util-linux/hwclock.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/getopt.c b/util-linux/getopt.c index 06c348895..a5e674368 100644 --- a/util-linux/getopt.c +++ b/util-linux/getopt.c @@ -318,7 +318,7 @@ int getopt_main(int argc, char *argv[]) opt = getopt32(argc, argv, "+o:n:qQs:Tu", &optstr, &name, &s_arg); #else applet_long_options = longopts; - opt_complementary = "?:l::"; + opt_complementary = "l::"; opt = getopt32(argc, argv, "+o:n:qQs:Tual:", &optstr, &name, &s_arg, &l_arg); /* Effectuate the read options for the applet itself */ diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c index 8b65df6a6..882a0c55a 100644 --- a/util-linux/hwclock.c +++ b/util-linux/hwclock.c @@ -189,7 +189,7 @@ int hwclock_main(int argc, char **argv) }; applet_long_options = hwclock_long_options; #endif - opt_complementary = "?:r--ws:w--rs:s--wr:l--u:u--l"; + opt_complementary = "r--ws:w--rs:s--wr:l--u:u--l"; opt = getopt32(argc, argv, "lurswf:", &rtcname); /* If -u or -l wasn't given check if we are using utc */ |