From bc702df44bd27f21f9681c9b8edbd0842464cec3 Mon Sep 17 00:00:00 2001 From: jfb Date: Wed, 13 Apr 2005 20:05:37 +0000 Subject: use the option string from the cvs_cmd entry instead of keeping a hardcoded copy ok joris@ --- usr.bin/cvs/annotate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/cvs/annotate.c') 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 * 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; -- cgit v1.2.3-59-g8ed1b