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

Diff for /src/usr.bin/rcs/rcsprog.c between version 1.151 and 1.152

version 1.151, 2011/07/12 21:00:32 version 1.152, 2014/10/02 06:23:15
Line 158 
Line 158 
 }  }
   
   
 void  __dead void
 rcs_usage(void)  rcs_usage(void)
 {  {
         fprintf(stderr,          fprintf(stderr,
             "usage: rcs [-IiLqTUV] [-Aoldfile] [-ausers] [-b[rev]]\n"              "usage: rcs [-IiLqTUV] [-Aoldfile] [-ausers] [-b[rev]]\n"
             "           [-cstring] [-e[users]] [-kmode] [-l[rev]] [-mrev:msg]\n"              "           [-cstring] [-e[users]] [-kmode] [-l[rev]] [-mrev:msg]\n"
             "           [-orev] [-t[str]] [-u[rev]] [-xsuffixes] file ...\n");              "           [-orev] [-t[str]] [-u[rev]] [-xsuffixes] file ...\n");
   
           exit(1);
 }  }
   
 /*  /*
Line 225 
Line 227 
                         if (RCS_KWEXP_INVAL(kflag)) {                          if (RCS_KWEXP_INVAL(kflag)) {
                                 warnx("invalid RCS keyword substitution mode");                                  warnx("invalid RCS keyword substitution mode");
                                 (usage)();                                  (usage)();
                                 exit(1);  
                         }                          }
                         break;                          break;
                 case 'L':                  case 'L':
Line 290 
Line 291 
                         break;                          break;
                 default:                  default:
                         (usage)();                          (usage)();
                         exit(1);  
                 }                  }
         }          }
   
Line 300 
Line 300 
         if (argc == 0) {          if (argc == 0) {
                 warnx("no input file");                  warnx("no input file");
                 (usage)();                  (usage)();
                 exit(1);  
         }          }
   
         for (i = 0; i < argc; i++) {          for (i = 0; i < argc; i++) {

Legend:
Removed from v.1.151  
changed lines
  Added in v.1.152