diff options
author | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2004-12-28 19:51:08 +0000 |
---|---|---|
committer | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2004-12-28 19:51:08 +0000 |
commit | 9c02ef20d783467046e23f56a46255e2cf2fe595 (patch) | |
tree | 2811716306506d63d5bd80edcf3c3567e391941a /usr.bin/cvs | |
parent | 894ee98fc09cf347aed5f06e16ca1d5d751049c1 (diff) |
use Argument instead of Argumentx when sending a revision or date
this makes the -r and -D options work with diff
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r-- | usr.bin/cvs/diff.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/cvs/diff.c b/usr.bin/cvs/diff.c index f071ce5f8a2..93d9bbf2154 100644 --- a/usr.bin/cvs/diff.c +++ b/usr.bin/cvs/diff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diff.c,v 1.13 2004/12/14 21:40:39 jfb Exp $ */ +/* $OpenBSD: diff.c,v 1.14 2004/12/28 19:51:07 jfb Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. * All rights reserved. @@ -445,17 +445,17 @@ cvs_diff_sendflags(struct cvsroot *root, struct diff_arg *dap) if (dap->rev1 != NULL) { cvs_sendarg(root, "-r", 0); - cvs_sendarg(root, dap->rev1, 1); + cvs_sendarg(root, dap->rev1, 0); } else if (dap->date1 != NULL) { cvs_sendarg(root, "-D", 0); - cvs_sendarg(root, dap->date1, 1); + cvs_sendarg(root, dap->date1, 0); } if (dap->rev2 != NULL) { cvs_sendarg(root, "-r", 0); - cvs_sendarg(root, dap->rev2, 1); + cvs_sendarg(root, dap->rev2, 0); } else if (dap->date2 != NULL) { cvs_sendarg(root, "-D", 0); - cvs_sendarg(root, dap->date2, 1); + cvs_sendarg(root, dap->date2, 0); } return (0); |