mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +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:
		@@ -35,7 +35,9 @@ const struct cmd_entry cmd_rename_session_entry = {
 | 
			
		||||
	.args = { "t:", 1, 1 },
 | 
			
		||||
	.usage = CMD_TARGET_SESSION_USAGE " new-name",
 | 
			
		||||
 | 
			
		||||
	.flags = CMD_SESSION_T,
 | 
			
		||||
	.tflag = CMD_SESSION,
 | 
			
		||||
 | 
			
		||||
	.flags = 0,
 | 
			
		||||
	.exec = cmd_rename_session_exec
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user