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 8174c65bf..aac77c3ba 100644 --- a/util-linux/script.c +++ b/util-linux/script.c | |||
@@ -80,8 +80,10 @@ int script_main(int argc UNUSED_PARAM, char **argv) | |||
80 | ; | 80 | ; |
81 | #endif | 81 | #endif |
82 | 82 | ||
83 | opt_complementary = "?1"; /* max one arg */ | 83 | opt = getopt32long(argv, "^" "ac:fqt::" "\0" "?1"/* max one arg */, |
84 | opt = getopt32long(argv, "ac:fqt::", script_longopts, &shell_arg, &str_t); | 84 | script_longopts, |
85 | &shell_arg, &str_t | ||
86 | ); | ||
85 | //argc -= optind; | 87 | //argc -= optind; |
86 | argv += optind; | 88 | argv += optind; |
87 | if (argv[0]) { | 89 | if (argv[0]) { |