[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.2 and 1.3

version 1.2, 2005/03/28 17:17:38 version 1.3, 2005/03/29 03:10:27
Line 51 
Line 51 
         struct cvsroot *root;          struct cvsroot *root;
         struct cvs_cmd_info *c = cmd->cmd_info;          struct cvs_cmd_info *c = cmd->cmd_info;
   
         if ((ret = c->cmd_options(cmd->cmd_opts, argc, argv, &i)) < 0)          if (c->cmd_options != NULL) {
                 return (ret);                  if ((ret = c->cmd_options(cmd->cmd_opts, argc, argv, &i)) < 0)
                           return (ret);
   
         argc -= i;                  argc -= i;
         argv += i;                  argv += i;
           }
   
         if ((c->cmd_flags & CVS_CMD_ALLOWSPEC) && argc != 0)          if ((c->cmd_flags & CVS_CMD_ALLOWSPEC) && argc != 0)
                 cvs_files = cvs_file_getspec(argv, argc, 0);                  cvs_files = cvs_file_getspec(argv, argc, 0);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3