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

Diff for /src/usr.bin/less/main.c between version 1.2 and 1.3

version 1.2, 1996/09/21 06:06:40 version 1.3, 1999/03/05 18:44:02
Line 121 
Line 121 
         }          }
 #endif  #endif
 #define isoptstring(s)  (((s)[0] == '-' || (s)[0] == '+') && (s)[1] != '\0')  #define isoptstring(s)  (((s)[0] == '-' || (s)[0] == '+') && (s)[1] != '\0')
         while (--argc > 0 && (isoptstring(argv[0]) || isoptpending()))          while (--argc > 0 && (isoptstring(argv[0]) || isoptpending())) {
                   if (strcmp(argv[0], "--") == 0) {
                           argv++;
                           argc--;
                           break;
                   }
                 scan_option(*argv++);                  scan_option(*argv++);
           }
 #undef isoptstring  #undef isoptstring
   
         if (isoptpending())          if (isoptpending())

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