summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcsprog.c
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2006-04-18 02:46:22 +0000
committerRay Lai <ray@cvs.openbsd.org>2006-04-18 02:46:22 +0000
commitc5187000c71672b7aa0f0345b9545431b83b69d0 (patch)
tree7782af430828f4b8684d85dd90f35d14c816749e /usr.bin/rcs/rcsprog.c
parent75796aba10ee2b8f63f6661ad2f780c831f18bf9 (diff)
Remove -h flag from rcs_getopt loop, which is not in GNU.
OK xsa@
Diffstat (limited to 'usr.bin/rcs/rcsprog.c')
-rw-r--r--usr.bin/rcs/rcsprog.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/rcs/rcsprog.c b/usr.bin/rcs/rcsprog.c
index 6ef2a32fe82..2e51e82d38d 100644
--- a/usr.bin/rcs/rcsprog.c
+++ b/usr.bin/rcs/rcsprog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsprog.c,v 1.105 2006/04/17 12:11:07 xsa Exp $ */
+/* $OpenBSD: rcsprog.c,v 1.106 2006/04/18 02:46:21 ray Exp $ */
/*
* Copyright (c) 2005 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -29,7 +29,7 @@
#include "rcsprog.h"
#define RCS_CMD_MAXARG 128
-#define RCSPROG_OPTSTRING "A:a:b::c:e::hik:Ll::m:Mn:N:o:qt::TUu::Vx::z::"
+#define RCSPROG_OPTSTRING "A:a:b::c:e::ik:Ll::m:Mn:N:o:qt::TUu::Vx::z::"
#define DESC_PROMPT "enter description, terminated with single '.' " \
"or end of file:\nNOTE: This is NOT the log message!" \
@@ -523,10 +523,6 @@ rcs_main(int argc, char **argv)
elist = rcs_optarg;
rcsflags |= RCSPROG_EFLAG;
break;
- case 'h':
- (usage)();
- exit(0);
- /* NOTREACHED */
case 'i':
flags |= RCS_CREATE;
break;