aboutsummaryrefslogtreecommitdiff
path: root/util-linux/flock.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/flock.c')
-rw-r--r--util-linux/flock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/util-linux/flock.c b/util-linux/flock.c
index 0c9158508..dd0bfd430 100644
--- a/util-linux/flock.c
+++ b/util-linux/flock.c
@@ -45,9 +45,8 @@ int flock_main(int argc UNUSED_PARAM, char **argv)
45 "nonblock\0" No_argument "n" 45 "nonblock\0" No_argument "n"
46 ; 46 ;
47#endif 47#endif
48 opt_complementary = "-1";
49 48
50 opt = getopt32long(argv, "+sxnu", flock_longopts); 49 opt = getopt32long(argv, "^+" "sxnu" "\0" "-1", flock_longopts);
51 argv += optind; 50 argv += optind;
52 51
53 if (argv[1]) { 52 if (argv[1]) {