[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.36 and 1.37

version 1.36, 2017/01/16 14:49:14 version 1.37, 2017/01/18 08:40:50
Line 131 
Line 131 
                         cmdq_error(item, "ambiguous option: %s", name);                          cmdq_error(item, "ambiguous option: %s", name);
                         return (CMD_RETURN_ERROR);                          return (CMD_RETURN_ERROR);
                 }                  }
                 if (options_match_get(oo, name, &idx, 0, &ambiguous) != NULL)                  if (*name != '@' &&
                       options_match_get(oo, name, &idx, 0, &ambiguous) != NULL)
                         return (CMD_RETURN_NORMAL);                          return (CMD_RETURN_NORMAL);
                 cmdq_error(item, "unknown option: %s", name);                  cmdq_error(item, "unknown option: %s", name);
                 return (CMD_RETURN_ERROR);                  return (CMD_RETURN_ERROR);

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37