[BACK]Return to checkout.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / cvs

Diff for /src/usr.bin/cvs/checkout.c between version 1.15 and 1.16

version 1.15, 2005/04/03 17:32:50 version 1.16, 2005/04/11 17:56:27
Line 90 
Line 90 
                                 cvs_log(LP_ERR,                                  cvs_log(LP_ERR,
                                     "invalid RCS keyword expansion mode");                                      "invalid RCS keyword expansion mode");
                                 rcs_kflag_usage();                                  rcs_kflag_usage();
                                 return (EX_USAGE);                                  return (1);
                         }                          }
                         break;                          break;
                 case 'r':                  case 'r':
Line 103 
Line 103 
                         rcsid = optarg;                          rcsid = optarg;
                         break;                          break;
                 default:                  default:
                         return (EX_USAGE);                          return (1);
                 }                  }
         }          }
   
Line 113 
Line 113 
         if (!statmod && (argc == 0)) {          if (!statmod && (argc == 0)) {
                 cvs_log(LP_ERR,                  cvs_log(LP_ERR,
                     "must specify at least one module or directory");                      "must specify at least one module or directory");
                 return (EX_USAGE);                  return (1);
         }          }
   
         if (statmod && (argc > 0)) {          if (statmod && (argc > 0)) {
                 cvs_log(LP_ERR,  "-c and -s must not get any arguments");                  cvs_log(LP_ERR,  "-c and -s must not get any arguments");
                 return (EX_USAGE);                  return (1);
         }          }
   
         *arg = optind;          *arg = optind;

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16