diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2005-04-11 17:56:28 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2005-04-11 17:56:28 +0000 |
commit | eb59e47dab6845274f3615340270c3f03e173d92 (patch) | |
tree | 305efb5759a84deba4a22514a8e5f48076ee25c2 /usr.bin/cvs/checkout.c | |
parent | 1bd73ba6c9a462466984f3d25296d75dbeb82c1e (diff) |
remove EX_USAGE error codes
ok jfb@
Diffstat (limited to 'usr.bin/cvs/checkout.c')
-rw-r--r-- | usr.bin/cvs/checkout.c | 10 |
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; |