[BACK]Return to cmd-set-option.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-set-option.c between version 1.28 and 1.29

version 1.28, 2009/12/03 22:50:10 version 1.29, 2009/12/10 09:16:52
Line 48 
Line 48 
   
 const struct cmd_entry cmd_set_option_entry = {  const struct cmd_entry cmd_set_option_entry = {
         "set-option", "set",          "set-option", "set",
         "[-aguw] [-t target-session|target-window] option [value]",          "[-agsuw] [-t target-session|target-window] option [value]",
         CMD_ARG12, "aguw",          CMD_ARG12, "agsuw",
         NULL,          NULL,
         cmd_target_parse,          cmd_target_parse,
         cmd_set_option_exec,          cmd_set_option_exec,
Line 73 
Line 73 
         "none", "any", "current", NULL          "none", "any", "current", NULL
 };  };
   
   const struct set_option_entry set_option_table[] = {
           { "quiet", SET_OPTION_FLAG, 0, 0, NULL },
   };
   
 const struct set_option_entry set_session_option_table[] = {  const struct set_option_entry set_session_option_table[] = {
         { "base-index", SET_OPTION_NUMBER, 0, INT_MAX, NULL },          { "base-index", SET_OPTION_NUMBER, 0, INT_MAX, NULL },
         { "bell-action", SET_OPTION_CHOICE, 0, 0, set_option_bell_action_list },          { "bell-action", SET_OPTION_CHOICE, 0, 0, set_option_bell_action_list },
Line 172 
Line 176 
         u_int                            i;          u_int                            i;
         int                              try_again;          int                              try_again;
   
         if (cmd_check_flag(data->chflags, 'w')) {          if (cmd_check_flag(data->chflags, 's')) {
                   oo = &global_options;
                   table = set_option_table;
           } else if (cmd_check_flag(data->chflags, 'w')) {
                 table = set_window_option_table;                  table = set_window_option_table;
                 if (cmd_check_flag(data->chflags, 'g'))                  if (cmd_check_flag(data->chflags, 'g'))
                         oo = &global_w_options;                          oo = &global_w_options;

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29