diff options
Diffstat (limited to 'util-linux/rtcwake.c')
-rw-r--r-- | util-linux/rtcwake.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/rtcwake.c b/util-linux/rtcwake.c index 2a3d61f21..8ffa4f3a6 100644 --- a/util-linux/rtcwake.c +++ b/util-linux/rtcwake.c @@ -155,9 +155,9 @@ int rtcwake_main(int argc UNUSED_PARAM, char **argv) "time\0" Required_argument "t" ; #endif - /* Must have -s or -t, exclusive */ - opt_complementary = "s:t:s--t:t--s"; - opt = getopt32long(argv, "alud:m:s:t:", rtcwake_longopts, + opt = getopt32long(argv, + /* Must have -s or -t, exclusive */ + "^alud:m:s:t:" "\0" "s:t:s--t:t--s", rtcwake_longopts, &rtcname, &suspend, &opt_seconds, &opt_time); /* this is the default |