diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2006-03-07 01:40:53 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2006-03-07 01:40:53 +0000 |
commit | 1fefa4418ce05b837c9e670fb162a259d0c6fede (patch) | |
tree | d2001ffbff5388b23aa11218185902f40ec0708c /usr.bin/rcs/rcsdiff.c | |
parent | e8a814a53fa228312a4794cbe232b763a0d4813c (diff) |
-z support for RCS;
Diffstat (limited to 'usr.bin/rcs/rcsdiff.c')
-rw-r--r-- | usr.bin/rcs/rcsdiff.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/rcs/rcsdiff.c b/usr.bin/rcs/rcsdiff.c index 511592078cd..b4c157315b2 100644 --- a/usr.bin/rcs/rcsdiff.c +++ b/usr.bin/rcs/rcsdiff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcsdiff.c,v 1.35 2006/03/06 15:00:21 jmc Exp $ */ +/* $OpenBSD: rcsdiff.c,v 1.36 2006/03/07 01:40:52 joris Exp $ */ /* * Copyright (c) 2005 Joris Vink <joris@openbsd.org> * All rights reserved. @@ -48,7 +48,7 @@ rcsdiff_main(int argc, char **argv) strlcpy(diffargs, "diff", sizeof(diffargs)); - while ((ch = rcs_getopt(argc, argv, "ck:nqr:TuVx:")) != -1) { + while ((ch = rcs_getopt(argc, argv, "ck:nqr:TuVx:z:")) != -1) { switch (ch) { case 'c': strlcat(diffargs, " -c", sizeof(diffargs)); @@ -94,6 +94,9 @@ rcsdiff_main(int argc, char **argv) case 'x': rcs_suffixes = rcs_optarg; break; + case 'z': + timezone_flag = rcs_optarg; + break; default: (usage)(); exit (1); |