summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2005-07-10 07:13:33 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2005-07-10 07:13:33 (GMT)
commit16db80907b8f9d7a77beca33c78411ca4fa4fe64 (patch)
treea8640e5518510448f15aa2dce50ea18178a31368
parent86dd19a26e206bd84477aec4bacc214e26f852aa (diff)
downloadflock-16db80907b8f9d7a77beca33c78411ca4fa4fe64.zip
flock-16db80907b8f9d7a77beca33c78411ca4fa4fe64.tar.gz
flock-16db80907b8f9d7a77beca33c78411ca4fa4fe64.tar.bz2
flock-16db80907b8f9d7a77beca33c78411ca4fa4fe64.tar.xz
Fix -V option
-rw-r--r--flock.c2
-rw-r--r--version2
2 files changed, 2 insertions, 2 deletions
diff --git a/flock.c b/flock.c
index d5572f0..67d9935 100644
--- a/flock.c
+++ b/flock.c
@@ -126,7 +126,7 @@ int main(int argc, char *argv[])
memset(&timeout, 0, sizeof timeout);
- while ( (opt = getopt_long(argc, argv, "+sexnouw:h?", long_options, &ix)) != EOF ) {
+ while ( (opt = getopt_long(argc, argv, "+sexnouw:hV?", long_options, &ix)) != EOF ) {
switch(opt) {
case 's':
type = LOCK_SH;
diff --git a/version b/version
index 38f77a6..e9307ca 100644
--- a/version
+++ b/version
@@ -1 +1 @@
-2.0.1
+2.0.2