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

Diff for /src/usr.bin/less/opttbl.c between version 1.12 and 1.13

version 1.12, 2014/04/25 13:38:21 version 1.13, 2014/04/29 12:11:25
Line 28 
Line 28 
 public int quit_at_eof;         /* Quit after hitting end of file twice */  public int quit_at_eof;         /* Quit after hitting end of file twice */
 public int quit_if_one_screen;  /* Quit if EOF on first screen */  public int quit_if_one_screen;  /* Quit if EOF on first screen */
 public int squeeze;             /* Squeeze multiple blank lines into one */  public int squeeze;             /* Squeeze multiple blank lines into one */
 public int be_helpful;          /* more(1) style -d */  
 public int tabstop;             /* Tab settings */  public int tabstop;             /* Tab settings */
 public int back_scroll;         /* Repaint screen on backwards movement */  public int back_scroll;         /* Repaint screen on backwards movement */
 public int forw_scroll;         /* Repaint screen on forward movement */  public int forw_scroll;         /* Repaint screen on forward movement */
Line 535 
Line 534 
   
         for (o = option;  o->oletter != '\0';  o++)          for (o = option;  o->oletter != '\0';  o++)
         {          {
                 /*  
                  * Replace less's -d option if invoked as more  
                  */  
                 if (less_is_more && o->oletter == 'd')  
                 {  
                         o->onames = NULL;  
                         o->otype = BOOL;  
                         o->odefault = OPT_OFF;  
                         o->ovar = &be_helpful;  
                         o->ofunc = NULL;  
                         o->odesc[0] = "Be less helpful in prompts";  
                         o->odesc[1] = "Be helpful in prompts";  
                         o->odesc[2] = NULL;  
                 }  
   
                 /*                  /*
                  * Set each variable to its default.                   * Set each variable to its default.
                  */                   */

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13