summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2006-02-28 04:47:53 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2006-02-28 04:47:53 (GMT)
commit0031e2c11f6b7f1853f56eb5fe90181d82e7c2e9 (patch)
tree35cdfedfbc60d373f7e106dff67ba9fceee86752
parentda03d7af6f4a17d2b84a8800d30ca5df7d71f657 (diff)
downloadflock-0031e2c11f6b7f1853f56eb5fe90181d82e7c2e9.zip
flock-0031e2c11f6b7f1853f56eb5fe90181d82e7c2e9.tar.gz
flock-0031e2c11f6b7f1853f56eb5fe90181d82e7c2e9.tar.bz2
flock-0031e2c11f6b7f1853f56eb5fe90181d82e7c2e9.tar.xz
Amusement
-rw-r--r--flock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/flock.c b/flock.c
index 54560b8..2c87aae 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, "+sexnouw:hV?", long_options, &ix)) != EOF ) {
+ while ( (opt = getopt_long(argc, argv, "+sex?now:uh", long_options, &ix)) != EOF ) {
switch(opt) {
case 's':
type = LOCK_SH;