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

Diff for /src/usr.bin/calendar/calendar.c between version 1.6 and 1.7

version 1.6, 1997/01/15 23:42:16 version 1.7, 1997/06/20 08:41:53
Line 77 
Line 77 
   
         (void) setlocale(LC_ALL, "");          (void) setlocale(LC_ALL, "");
   
         while ((ch = getopt(argc, argv, "?-af:t:A:B:")) != -1)          while ((ch = getopt(argc, argv, "-af:t:A:B:")) != -1)
                 switch (ch) {                  switch (ch) {
                 case '-':               /* backward contemptible */                  case '-':               /* backward contemptible */
                 case 'a':                  case 'a':
Line 86 
Line 86 
                         doall = 1;                          doall = 1;
                         break;                          break;
   
   
                 case 'f': /* other calendar file */                  case 'f': /* other calendar file */
                         calendarFile = optarg;                          calendarFile = optarg;
                         break;                          break;
Line 103 
Line 102 
                         f_dayBefore = atoi(optarg);                          f_dayBefore = atoi(optarg);
                         break;                          break;
   
                 case '?':  
                 default:                  default:
                         usage();                          usage();
                 }                  }

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