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

Diff for /src/usr.bin/cvs/cmd.c between version 1.7 and 1.8

version 1.7, 2005/04/03 17:32:50 version 1.8, 2005/04/11 17:56:27
Line 60 
Line 60 
         }          }
   
         if (c->cmd_options != NULL) {          if (c->cmd_options != NULL) {
                 if ((ret = c->cmd_options(cmd->cmd_opts, argc, argv, &i)) < 0)                  if ((ret = c->cmd_options(cmd->cmd_opts, argc, argv, &i)) != 0)
                         return (ret);                          return (ret);
   
                 argc -= i;                  argc -= i;
Line 84 
Line 84 
                     "No CVSROOT specified! Please use the `-d' option");                      "No CVSROOT specified! Please use the `-d' option");
                 cvs_log(LP_ERR,                  cvs_log(LP_ERR,
                     "or set the CVSROOT enviroment variable.");                      "or set the CVSROOT enviroment variable.");
                 return (EX_USAGE);                  return (1);
         }          }
   
         if (root->cr_method != CVS_METHOD_LOCAL) {          if (root->cr_method != CVS_METHOD_LOCAL) {

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8