summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/import.c
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2005-04-11 17:56:28 +0000
committerJoris Vink <joris@cvs.openbsd.org>2005-04-11 17:56:28 +0000
commiteb59e47dab6845274f3615340270c3f03e173d92 (patch)
tree305efb5759a84deba4a22514a8e5f48076ee25c2 /usr.bin/cvs/import.c
parent1bd73ba6c9a462466984f3d25296d75dbeb82c1e (diff)
remove EX_USAGE error codes
ok jfb@
Diffstat (limited to 'usr.bin/cvs/import.c')
-rw-r--r--usr.bin/cvs/import.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/cvs/import.c b/usr.bin/cvs/import.c
index 061c807291f..804b8a11ac3 100644
--- a/usr.bin/cvs/import.c
+++ b/usr.bin/cvs/import.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: import.c,v 1.8 2005/04/03 17:32:50 xsa Exp $ */
+/* $OpenBSD: import.c,v 1.9 2005/04/11 17:56:27 joris Exp $ */
/*
* Copyright (c) 2004 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -73,7 +73,7 @@ cvs_import_options(char *opt, int argc, char **argv, int *arg)
if ((bnum = rcsnum_parse(branch)) == NULL) {
cvs_log(LP_ERR, "%s is not a numeric branch",
branch);
- return (EX_USAGE);
+ return (1);
}
rcsnum_free(bnum);
break;
@@ -83,7 +83,7 @@ cvs_import_options(char *opt, int argc, char **argv, int *arg)
if (cvs_file_ignore(optarg) < 0) {
cvs_log(LP_ERR, "failed to add `%s' to list "
"of ignore patterns", optarg);
- return (EX_USAGE);
+ return (1);
}
break;
case 'k':
@@ -96,7 +96,7 @@ cvs_import_options(char *opt, int argc, char **argv, int *arg)
}
break;
default:
- return (EX_USAGE);
+ return (1);
}
}
@@ -105,7 +105,7 @@ cvs_import_options(char *opt, int argc, char **argv, int *arg)
*arg = optind;
if (argc > 4)
- return (EX_USAGE);
+ return (1);
module = argv[0];
vendor = argv[1];