summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/checkout.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/checkout.c')
-rw-r--r--usr.bin/cvs/checkout.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/cvs/checkout.c b/usr.bin/cvs/checkout.c
index d29c66387fa..7127feb2454 100644
--- a/usr.bin/cvs/checkout.c
+++ b/usr.bin/cvs/checkout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: checkout.c,v 1.15 2005/04/03 17:32:50 xsa Exp $ */
+/* $OpenBSD: checkout.c,v 1.16 2005/04/11 17:56:27 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -90,7 +90,7 @@ cvs_checkout_options(char *opt, int argc, char **argv, int *arg)
cvs_log(LP_ERR,
"invalid RCS keyword expansion mode");
rcs_kflag_usage();
- return (EX_USAGE);
+ return (1);
}
break;
case 'r':
@@ -103,7 +103,7 @@ cvs_checkout_options(char *opt, int argc, char **argv, int *arg)
rcsid = optarg;
break;
default:
- return (EX_USAGE);
+ return (1);
}
}
@@ -113,12 +113,12 @@ cvs_checkout_options(char *opt, int argc, char **argv, int *arg)
if (!statmod && (argc == 0)) {
cvs_log(LP_ERR,
"must specify at least one module or directory");
- return (EX_USAGE);
+ return (1);
}
if (statmod && (argc > 0)) {
cvs_log(LP_ERR, "-c and -s must not get any arguments");
- return (EX_USAGE);
+ return (1);
}
*arg = optind;