summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/annotate.c
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2005-04-11 17:56:28 +0000
committerJoris Vink <joris@cvs.openbsd.org>2005-04-11 17:56:28 +0000
commiteb59e47dab6845274f3615340270c3f03e173d92 (patch)
tree305efb5759a84deba4a22514a8e5f48076ee25c2 /usr.bin/cvs/annotate.c
parent1bd73ba6c9a462466984f3d25296d75dbeb82c1e (diff)
remove EX_USAGE error codes
ok jfb@
Diffstat (limited to 'usr.bin/cvs/annotate.c')
-rw-r--r--usr.bin/cvs/annotate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/annotate.c b/usr.bin/cvs/annotate.c
index 499317090b7..ee7f6b6ffed 100644
--- a/usr.bin/cvs/annotate.c
+++ b/usr.bin/cvs/annotate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: annotate.c,v 1.6 2005/04/03 17:32:50 xsa Exp $ */
+/* $OpenBSD: annotate.c,v 1.7 2005/04/11 17:56:27 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -86,14 +86,14 @@ cvs_annotate_options(char *opt, int argc, char **argv, int *arg)
rev = optarg;
break;
default:
- return (EX_USAGE);
+ return (1);
}
}
if ((date != NULL) && (rev != NULL)) {
cvs_log(LP_ERR,
"the -D and -d arguments are mutually exclusive");
- return (EX_USAGE);
+ return (1);
}
*arg = optind;