mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Instead of combined flags for -c, -s, -t, split into different sets
using an enum and simplify the parsing code.
This commit is contained in:
		@@ -40,7 +40,9 @@ const struct cmd_entry cmd_confirm_before_entry = {
 | 
			
		||||
	.args = { "p:t:", 1, 1 },
 | 
			
		||||
	.usage = "[-p prompt] " CMD_TARGET_CLIENT_USAGE " command",
 | 
			
		||||
 | 
			
		||||
	.flags = CMD_CLIENT_T,
 | 
			
		||||
	.tflag = CMD_CLIENT,
 | 
			
		||||
 | 
			
		||||
	.flags = 0,
 | 
			
		||||
	.exec = cmd_confirm_before_exec
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user