summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/remove.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/remove.c
parent1bd73ba6c9a462466984f3d25296d75dbeb82c1e (diff)
remove EX_USAGE error codes
ok jfb@
Diffstat (limited to 'usr.bin/cvs/remove.c')
-rw-r--r--usr.bin/cvs/remove.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/remove.c b/usr.bin/cvs/remove.c
index 904183defe2..711373a24cd 100644
--- a/usr.bin/cvs/remove.c
+++ b/usr.bin/cvs/remove.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: remove.c,v 1.4 2005/03/30 17:43:04 joris Exp $ */
+/* $OpenBSD: remove.c,v 1.5 2005/04/11 17:56:27 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* Copyright (c) 2004 Xavier Santolaria <xsa@openbsd.org>
@@ -74,7 +74,7 @@ cvs_remove_options(char *opt, int argc, char **argv, int *arg)
case 'R':
break;
default:
- return (EX_USAGE);
+ return (1);
}
}
@@ -82,7 +82,7 @@ cvs_remove_options(char *opt, int argc, char **argv, int *arg)
argv += optind;
if (argc == 0)
- return (EX_USAGE);
+ return (1);
*arg = optind;
return (0);