=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/import.c,v retrieving revision 1.8 retrieving revision 1.9 diff -c -r1.8 -r1.9 *** src/usr.bin/cvs/import.c 2005/04/03 17:32:50 1.8 --- src/usr.bin/cvs/import.c 2005/04/11 17:56:27 1.9 *************** *** 1,4 **** ! /* $OpenBSD: import.c,v 1.8 2005/04/03 17:32:50 xsa Exp $ */ /* * Copyright (c) 2004 Joris Vink * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: import.c,v 1.9 2005/04/11 17:56:27 joris Exp $ */ /* * Copyright (c) 2004 Joris Vink * All rights reserved. *************** *** 73,79 **** if ((bnum = rcsnum_parse(branch)) == NULL) { cvs_log(LP_ERR, "%s is not a numeric branch", branch); ! return (EX_USAGE); } rcsnum_free(bnum); break; --- 73,79 ---- if ((bnum = rcsnum_parse(branch)) == NULL) { cvs_log(LP_ERR, "%s is not a numeric branch", branch); ! return (1); } rcsnum_free(bnum); break; *************** *** 83,89 **** if (cvs_file_ignore(optarg) < 0) { cvs_log(LP_ERR, "failed to add `%s' to list " "of ignore patterns", optarg); ! return (EX_USAGE); } break; case 'k': --- 83,89 ---- if (cvs_file_ignore(optarg) < 0) { cvs_log(LP_ERR, "failed to add `%s' to list " "of ignore patterns", optarg); ! return (1); } break; case 'k': *************** *** 96,102 **** } break; default: ! return (EX_USAGE); } } --- 96,102 ---- } break; default: ! return (1); } } *************** *** 105,111 **** *arg = optind; if (argc > 4) ! return (EX_USAGE); module = argv[0]; vendor = argv[1]; --- 105,111 ---- *arg = optind; if (argc > 4) ! return (1); module = argv[0]; vendor = argv[1];