summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcsprog.c
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2005-09-20 04:30:58 +0000
committerJoris Vink <joris@cvs.openbsd.org>2005-09-20 04:30:58 +0000
commitd45b7aff79cc502a2beefca71005e859576e6e68 (patch)
treee5e84bbb5568f893f1f4d5de06210a903f360939 /usr.bin/rcs/rcsprog.c
parent65ccea01c30d7a31c943c605a0ba34ea948a380b (diff)
be a bit more compatible with gnu rcs in our output.
Diffstat (limited to 'usr.bin/rcs/rcsprog.c')
-rw-r--r--usr.bin/rcs/rcsprog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/rcs/rcsprog.c b/usr.bin/rcs/rcsprog.c
index 75ceb805b08..14f10771a9b 100644
--- a/usr.bin/rcs/rcsprog.c
+++ b/usr.bin/rcs/rcsprog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsprog.c,v 1.4 2005/09/20 04:29:51 joris Exp $ */
+/* $OpenBSD: rcsprog.c,v 1.5 2005/09/20 04:30:57 joris Exp $ */
/*
* Copyright (c) 2005 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -170,6 +170,7 @@ rcs_main(int argc, char **argv)
argv += optind;
if (argc == 0) {
cvs_log(LP_ERR, "no input file");
+ (usage)();
exit(1);
}