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/history.c | |
parent | 1bd73ba6c9a462466984f3d25296d75dbeb82c1e (diff) |
remove EX_USAGE error codes
ok jfb@
Diffstat (limited to 'usr.bin/cvs/history.c')
-rw-r--r-- | usr.bin/cvs/history.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/cvs/history.c b/usr.bin/cvs/history.c index 2d73db2b4c3..2e9abca74a0 100644 --- a/usr.bin/cvs/history.c +++ b/usr.bin/cvs/history.c @@ -1,4 +1,4 @@ -/* $OpenBSD: history.c,v 1.10 2005/04/03 17:32:50 xsa Exp $ */ +/* $OpenBSD: history.c,v 1.11 2005/04/11 17:56:27 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -105,7 +105,7 @@ cvs_history_options(char *opt, int argc, char **argv, int *arg) flags |= CVS_HF_M; if (nbmod == CVS_HISTORY_MAXMOD) { cvs_log(LP_ERR, "too many `-m' options"); - return (EX_USAGE); + return (1); } modules[nbmod++] = optarg; break; @@ -133,14 +133,14 @@ cvs_history_options(char *opt, int argc, char **argv, int *arg) zone = optarg; break; default: - return (EX_USAGE); + return (1); } } if (rep > 1) { cvs_log(LP_ERR, "Only one report type allowed from: \"-Tcomxe\""); - return (EX_USAGE); + return (1); } else if (rep == 0) flags |= CVS_HF_O; /* use -o as default */ |