diff options
Diffstat (limited to 'usr.bin/rcs')
-rw-r--r-- | usr.bin/rcs/ci.c | 6 | ||||
-rw-r--r-- | usr.bin/rcs/rcsprog.c | 8 |
2 files changed, 3 insertions, 11 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c index a3bd40f0fdd..6932b30183d 100644 --- a/usr.bin/rcs/ci.c +++ b/usr.bin/rcs/ci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ci.c,v 1.149 2006/04/17 12:03:19 ray Exp $ */ +/* $OpenBSD: ci.c,v 1.150 2006/04/18 02:46:21 ray Exp $ */ /* * Copyright (c) 2005, 2006 Niall O'Higgins <niallo@openbsd.org> * All rights reserved. @@ -128,10 +128,6 @@ checkin_main(int argc, char **argv) rcs_setrevstr(&rev_str, rcs_optarg); pb.flags |= FORCE; break; - case 'h': - (usage)(); - exit(0); - /* NOTREACHED */ case 'I': rcs_setrevstr(&rev_str, rcs_optarg); pb.flags |= INTERACTIVE; 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; |