show-options and environment need CANFAIL flag.

pull/243/head
nicm 2015-12-13 18:15:13 +00:00
parent 50f8ead4e6
commit fd47084224
2 changed files with 3 additions and 3 deletions

View File

@ -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
};

View File

@ -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
};