summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/annotate.c
diff options
context:
space:
mode:
authorJean-Francois Brousseau <jfb@cvs.openbsd.org>2005-04-13 20:05:38 +0000
committerJean-Francois Brousseau <jfb@cvs.openbsd.org>2005-04-13 20:05:38 +0000
commitc462c576fa74bf372b1fa6fbab07df2f380e964c (patch)
treed3bc75c1ed74c4a463be45b8ee8a31eca7c740a6 /usr.bin/cvs/annotate.c
parentf05bbc2f54c65f40dc8df779a6746db1b1389a04 (diff)
use the option string from the cvs_cmd entry instead of keeping a
hardcoded copy ok joris@
Diffstat (limited to 'usr.bin/cvs/annotate.c')
-rw-r--r--usr.bin/cvs/annotate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/annotate.c b/usr.bin/cvs/annotate.c
index 66c0322e78b..deb225b43f2 100644
--- a/usr.bin/cvs/annotate.c
+++ b/usr.bin/cvs/annotate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: annotate.c,v 1.9 2005/04/12 14:58:40 joris Exp $ */
+/* $OpenBSD: annotate.c,v 1.10 2005/04/13 20:05:37 jfb Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -67,7 +67,7 @@ cvs_annotate_options(char *opt, int argc, char **argv, int *arg)
date = NULL;
rev = NULL;
- while ((ch = getopt(argc, argv, "D:flRr:")) != -1) {
+ while ((ch = getopt(argc, argv, opt)) != -1) {
switch (ch) {
case 'D':
date = optarg;