aboutsummaryrefslogtreecommitdiff
path: root/util-linux/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/script.c')
-rw-r--r--util-linux/script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/script.c b/util-linux/script.c
index 89b439163..4cb9842a0 100644
--- a/util-linux/script.c
+++ b/util-linux/script.c
@@ -71,7 +71,7 @@ int script_main(int argc UNUSED_PARAM, char **argv)
71 }; 71 };
72 72
73#if ENABLE_LONG_OPTS 73#if ENABLE_LONG_OPTS
74 static const char getopt_longopts[] ALIGN1 = 74 static const char script_longopts[] ALIGN1 =
75 "append\0" No_argument "a" 75 "append\0" No_argument "a"
76 "command\0" Required_argument "c" 76 "command\0" Required_argument "c"
77 "flush\0" No_argument "f" 77 "flush\0" No_argument "f"
@@ -79,7 +79,7 @@ int script_main(int argc UNUSED_PARAM, char **argv)
79 "timing\0" Optional_argument "t" 79 "timing\0" Optional_argument "t"
80 ; 80 ;
81 81
82 applet_long_options = getopt_longopts; 82 applet_long_options = script_longopts;
83#endif 83#endif
84 84
85 opt_complementary = "?1"; /* max one arg */ 85 opt_complementary = "?1"; /* max one arg */