mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	options_match needs to explicitly check for user options.
This commit is contained in:
		@@ -131,7 +131,8 @@ cmd_show_options_one(struct cmd *self, struct cmdq_item *item,
 | 
			
		||||
			cmdq_error(item, "ambiguous option: %s", name);
 | 
			
		||||
			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);
 | 
			
		||||
		cmdq_error(item, "unknown option: %s", name);
 | 
			
		||||
		return (CMD_RETURN_ERROR);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user