summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2006-02-28 04:48:24 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2006-02-28 04:48:24 (GMT)
commite3902ec2d4eaace92997e81776219dd77dd25f08 (patch)
tree615ca5be65a5abfdecaf56eedb14c5a638ff8d52
parent0031e2c11f6b7f1853f56eb5fe90181d82e7c2e9 (diff)
downloadflock-master.zip
flock-master.tar.gz
flock-master.tar.bz2
flock-master.tar.xz
Still need -V though...HEADmaster
-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;