summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/annotate.c
diff options
context:
space:
mode:
authorjfb <jfb@openbsd.org>2005-04-13 20:05:37 +0000
committerjfb <jfb@openbsd.org>2005-04-13 20:05:37 +0000
commitbc702df44bd27f21f9681c9b8edbd0842464cec3 (patch)
treee5d94c7fdcaab967975b50abe61da07dfb9add64 /usr.bin/cvs/annotate.c
parenttweak to make this use similar format to ospfd.conf.5 and hostapd.conf.5; (diff)
downloadwireguard-openbsd-bc702df44bd27f21f9681c9b8edbd0842464cec3.tar.xz
wireguard-openbsd-bc702df44bd27f21f9681c9b8edbd0842464cec3.zip
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;