mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	show-options and environment need CANFAIL flag.
This commit is contained in:
		@@ -37,7 +37,7 @@ const struct cmd_entry cmd_show_environment_entry = {
 | 
			
		||||
	"show-environment", "showenv",
 | 
			
		||||
	"gst:", 0, 1,
 | 
			
		||||
	"[-gs] " CMD_TARGET_SESSION_USAGE " [name]",
 | 
			
		||||
	CMD_SESSION_T,
 | 
			
		||||
	CMD_SESSION_T|CMD_CANFAIL,
 | 
			
		||||
	cmd_show_environment_exec
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -38,7 +38,7 @@ const struct cmd_entry cmd_show_options_entry = {
 | 
			
		||||
	"show-options", "show",
 | 
			
		||||
	"gqst:vw", 0, 1,
 | 
			
		||||
	"[-gqsvw] [-t target-session|target-window] [option]",
 | 
			
		||||
	CMD_WINDOW_T,
 | 
			
		||||
	CMD_WINDOW_T|CMD_CANFAIL,
 | 
			
		||||
	cmd_show_options_exec
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
@@ -46,7 +46,7 @@ const struct cmd_entry cmd_show_window_options_entry = {
 | 
			
		||||
	"show-window-options", "showw",
 | 
			
		||||
	"gvt:", 0, 1,
 | 
			
		||||
	"[-gv] " CMD_TARGET_WINDOW_USAGE " [option]",
 | 
			
		||||
	CMD_WINDOW_T,
 | 
			
		||||
	CMD_WINDOW_T|CMD_CANFAIL,
 | 
			
		||||
	cmd_show_options_exec
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user