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

Diff for /src/usr.bin/cvs/cvs.c between version 1.10 and 1.11

version 1.10, 2004/08/06 13:01:09 version 1.11, 2004/08/06 14:49:02
Line 55 
Line 55 
 int   cvs_trace = 0;  int   cvs_trace = 0;
 int   cvs_nolog = 0;  int   cvs_nolog = 0;
 int   cvs_readonly = 0;  int   cvs_readonly = 0;
   int   cvs_nocase = 0;   /* set to 1 to disable case sensitivity on filenames */
   
 /* name of the command we are running */  /* name of the command we are running */
 char *cvs_command;  char *cvs_command;
Line 278 
Line 279 
 usage(void)  usage(void)
 {  {
         fprintf(stderr,          fprintf(stderr,
             "Usage: %s [-lQqtv] [-d root] [-e editor] [-z level] "              "Usage: %s [-lQqtvx] [-b bindir] [-d root] [-e editor] [-z level] "
             "command [options] ...\n",              "command [options] ...\n",
             __progname);              __progname);
 }  }
Line 313 
Line 314 
             ((envstr = getenv("EDITOR")) != NULL))              ((envstr = getenv("EDITOR")) != NULL))
                 cvs_editor = envstr;                  cvs_editor = envstr;
   
         while ((ret = getopt(argc, argv, "d:e:fHlnQqrtvz:")) != -1) {          while ((ret = getopt(argc, argv, "b:d:e:fHlnQqrtvz:")) != -1) {
                 switch (ret) {                  switch (ret) {
                   case 'b':
                           /*
                            * We do not care about the bin directory for RCS files
                            * as this program has no dependencies on RCS programs,
                            * so it is only here for backwards compatibility.
                            */
                           cvs_log(LP_NOTICE, "the -b argument is obsolete");
                           break;
                 case 'd':                  case 'd':
                         cvs_rootstr = optarg;                          cvs_rootstr = optarg;
                         break;                          break;
Line 347 
Line 356 
                         printf("%s\n", CVS_VERSION);                          printf("%s\n", CVS_VERSION);
                         exit(0);                          exit(0);
                         /* NOTREACHED */                          /* NOTREACHED */
                           break;
                   case 'x':
                           /*
                            * Kerberos encryption support, kept for compatibility
                            */
                         break;                          break;
                 case 'z':                  case 'z':
                         cvs_compress = (int)strtol(optarg, &ep, 10);                          cvs_compress = (int)strtol(optarg, &ep, 10);

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11