summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/tag.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/tag.c
parent1bd73ba6c9a462466984f3d25296d75dbeb82c1e (diff)
remove EX_USAGE error codes
ok jfb@
Diffstat (limited to 'usr.bin/cvs/tag.c')
-rw-r--r--usr.bin/cvs/tag.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/tag.c b/usr.bin/cvs/tag.c
index 7433472be83..21ccec0b0c3 100644
--- a/usr.bin/cvs/tag.c
+++ b/usr.bin/cvs/tag.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tag.c,v 1.8 2005/04/03 17:32:50 xsa Exp $ */
+/* $OpenBSD: tag.c,v 1.9 2005/04/11 17:56:27 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* Copyright (c) 2004 Joris Vink <joris@openbsd.org>
@@ -84,7 +84,7 @@ cvs_tag_options(char *opt, int argc, char **argv, int *arg)
old_tag = optarg;
break;
default:
- return (EX_USAGE);
+ return (1);
}
}
@@ -93,7 +93,7 @@ cvs_tag_options(char *opt, int argc, char **argv, int *arg)
argv += optind;
if (argc == 0) {
- return (EX_USAGE);
+ return (1);
} else {
tag = argv[0];
argc--;