summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--flock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/flock.c b/flock.c
index 2c87aae..d758721 100644
--- a/flock.c
+++ b/flock.c
@@ -142,7 +142,7 @@ int main(int argc, char *argv[])
memset(&timeout, 0, sizeof timeout);
optopt = 0;
- while ( (opt = getopt_long(argc, argv, "+sex?now:uh", long_options, &ix)) != EOF ) {
+ while ( (opt = getopt_long(argc, argv, "+sex?now:uhV", long_options, &ix)) != EOF ) {
switch(opt) {
case 's':
type = LOCK_SH;