diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-06-26 21:03:09 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-06-26 21:03:09 +0000 |
commit | 73bec2e5879d4877c1a90fc7b0d307acd629138a (patch) | |
tree | c409117372f3c35c1c68f1712739b37a0162c11a /usr.bin | |
parent | e95229a5cf2de5b9b166325407ce8ee0692971b7 (diff) |
Fix -r flag that was broken during getopt() conversion--whoops.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/diff/diff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/diff/diff.c b/usr.bin/diff/diff.c index 59605ced06e..8448b7ee8a0 100644 --- a/usr.bin/diff/diff.c +++ b/usr.bin/diff/diff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diff.c,v 1.15 2003/06/26 18:19:29 millert Exp $ */ +/* $OpenBSD: diff.c,v 1.16 2003/06/26 21:03:08 millert Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. @@ -146,7 +146,7 @@ main(int argc, char **argv) opt = D_NREVERSE; break; case 'r': - opt = D_REVERSE; + rflag++; break; case 'S': start = optarg; |