diff options
Diffstat (limited to 'miscutils/time.c')
-rw-r--r-- | miscutils/time.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/miscutils/time.c b/miscutils/time.c index 0ecdac1..65dbcdc 100644 --- a/miscutils/time.c +++ b/miscutils/time.c @@ -430,9 +430,10 @@ int time_main(int argc UNUSED_PARAM, char **argv) OPT_f = (1 << 4), }; - opt_complementary = "-1"; /* at least one arg */ /* "+": stop on first non-option */ - opt = getopt32(argv, "+vpao:f:", &output_filename, &output_format); + opt = getopt32(argv, "^+" "vpao:f:" "\0" "-1"/*at least one arg*/, + &output_filename, &output_format + ); argv += optind; if (opt & OPT_v) output_format = long_format; |