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

Diff for /src/usr.bin/less/option.c between version 1.5 and 1.6

version 1.5, 2003/04/13 18:26:26 version 1.6, 2003/04/14 15:09:57
Line 90 
Line 90 
                 case END_OPTION_STRING:                  case END_OPTION_STRING:
                         continue;                          continue;
                 case '-':                  case '-':
   #if GNU_OPTIONS
                         /*                          /*
                          * "--" indicates an option name instead of a letter.                           * "--" indicates an option name instead of a letter.
                          */                           */
Line 98 
Line 99 
                                 optname = ++s;                                  optname = ++s;
                                 break;                                  break;
                         }                          }
   #endif
                         /*                          /*
                          * "-+" means set these options back to their defaults.                           * "-+" means set these options back to their defaults.
                          * (They may have been set otherwise by previous                           * (They may have been set otherwise by previous
Line 144 
Line 146 
                         printopt = propt(optc);                          printopt = propt(optc);
                         lc = SIMPLE_IS_LOWER(optc);                          lc = SIMPLE_IS_LOWER(optc);
                         o = findopt(optc);                          o = findopt(optc);
                 } else                  }
   #if GNU_OPTIONS
                   else
                 {                  {
                         printopt = optname;                          printopt = optname;
                         lc = SIMPLE_IS_LOWER(optname[0]);                          lc = SIMPLE_IS_LOWER(optname[0]);
Line 181 
Line 185 
                                 o = NULL;                                  o = NULL;
                         }                          }
                 }                  }
   #endif
                 if (o == NULL)                  if (o == NULL)
                 {                  {
                         parg.p_string = printopt;                          parg.p_string = printopt;

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