diff options
Diffstat (limited to 'util-linux/script.c')
-rw-r--r-- | util-linux/script.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/util-linux/script.c b/util-linux/script.c index 8174c65..aac77c3 100644 --- a/util-linux/script.c +++ b/util-linux/script.c @@ -80,8 +80,10 @@ int script_main(int argc UNUSED_PARAM, char **argv) ; #endif - opt_complementary = "?1"; /* max one arg */ - opt = getopt32long(argv, "ac:fqt::", script_longopts, &shell_arg, &str_t); + opt = getopt32long(argv, "^" "ac:fqt::" "\0" "?1"/* max one arg */, + script_longopts, + &shell_arg, &str_t + ); //argc -= optind; argv += optind; if (argv[0]) { |