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

Diff for /src/usr.bin/tmux/cmd-show-options.c between version 1.65 and 1.66

version 1.65, 2020/12/28 09:40:27 version 1.66, 2021/08/20 19:50:17
Line 86 
Line 86 
   
         window = (cmd_get_entry(self) == &cmd_show_window_options_entry);          window = (cmd_get_entry(self) == &cmd_show_window_options_entry);
   
         if (args->argc == 0) {          if (args_count(args) == 0) {
                 scope = options_scope_from_flags(args, window, target, &oo,                  scope = options_scope_from_flags(args, window, target, &oo,
                     &cause);                      &cause);
                 if (scope == OPTIONS_TABLE_NONE) {                  if (scope == OPTIONS_TABLE_NONE) {
Line 98 
Line 98 
                 }                  }
                 return (cmd_show_options_all(self, item, scope, oo));                  return (cmd_show_options_all(self, item, scope, oo));
         }          }
         argument = format_single_from_target(item, args->argv[0]);          argument = format_single_from_target(item, args_string(args, 0));
   
         name = options_match(argument, &idx, &ambiguous);          name = options_match(argument, &idx, &ambiguous);
         if (name == NULL) {          if (name == NULL) {

Legend:
Removed from v.1.65  
changed lines
  Added in v.1.66