summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-show-options.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-12-13 18:15:14 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-12-13 18:15:14 +0000
commit780387b6b2ee6f1f437acccfdd91acd692cabcc1 (patch)
tree3eb732e78afab3dbe274bbd14d06beb649eee2ce /usr.bin/tmux/cmd-show-options.c
parent135e6b3602d41f4d63900a05d7a6bd8248203f40 (diff)
show-options and environment need CANFAIL flag.
Diffstat (limited to 'usr.bin/tmux/cmd-show-options.c')
-rw-r--r--usr.bin/tmux/cmd-show-options.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-show-options.c b/usr.bin/tmux/cmd-show-options.c
index 1c44e568a05..8a17387ffef 100644
--- a/usr.bin/tmux/cmd-show-options.c
+++ b/usr.bin/tmux/cmd-show-options.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-show-options.c,v 1.26 2015/12/13 14:32:38 nicm Exp $ */
+/* $OpenBSD: cmd-show-options.c,v 1.27 2015/12/13 18:15:13 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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
};