summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/commit.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/commit.c')
-rw-r--r--usr.bin/cvs/commit.c6
1 files changed, 3 insertions, 3 deletions
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 <jfb@openbsd.org>
* 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)