From dd996502be0e971bf28ad9eea91386cdfaff0024 Mon Sep 17 00:00:00 2001 From: joris Date: Mon, 11 Apr 2005 17:56:27 +0000 Subject: remove EX_USAGE error codes ok jfb@ --- usr.bin/cvs/commit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/cvs/commit.c') diff --git a/usr.bin/cvs/commit.c b/usr.bin/cvs/commit.c index b9b5ba5434b..a97fc8a8a83 100644 --- a/usr.bin/cvs/commit.c +++ b/usr.bin/cvs/commit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: commit.c,v 1.20 2005/04/03 17:32:50 xsa Exp $ */ +/* $OpenBSD: commit.c,v 1.21 2005/04/11 17:56:27 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. @@ -88,13 +88,13 @@ cvs_commit_options(char *opt, int argc, char **argv, int *arg) cvs_commit.file_flags |= CF_RECURSE; break; default: - return (EX_USAGE); + return (1); } } if ((cvs_msg != NULL) && (mfile != NULL)) { cvs_log(LP_ERR, "the -F and -m flags are mutually exclusive"); - return (EX_USAGE); + return (1); } if ((mfile != NULL) && (cvs_msg = cvs_logmsg_open(mfile)) == NULL) -- cgit v1.2.3-59-g8ed1b