summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/annotate.c
diff options
context:
space:
mode:
authorjoris <joris@openbsd.org>2005-04-11 17:56:27 +0000
committerjoris <joris@openbsd.org>2005-04-11 17:56:27 +0000
commitdd996502be0e971bf28ad9eea91386cdfaff0024 (patch)
tree0a9082aae3666fbe39867655b3ecc4ea57362972 /usr.bin/cvs/annotate.c
parentIgnore lcp up/down events in cisco mode (diff)
downloadwireguard-openbsd-dd996502be0e971bf28ad9eea91386cdfaff0024.tar.xz
wireguard-openbsd-dd996502be0e971bf28ad9eea91386cdfaff0024.zip
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;