aboutsummaryrefslogtreecommitdiff
path: root/cmd-find-window.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-12-13 23:46:58 +0000
committerThomas Adam <thomas@xteddy.org>2015-12-13 23:46:58 +0000
commit5caec3020d32596f3ecf3dea68639da18690992d (patch)
treeda0cde36d73215aa603d1897279aa9431f403d06 /cmd-find-window.c
parentf4adcfa0e2f4451616738a8c65f9eef2855fc757 (diff)
parentecfeee2e8255a77f82a07124c93c8dbc7683c421 (diff)
downloadrtmux-5caec3020d32596f3ecf3dea68639da18690992d.tar.gz
rtmux-5caec3020d32596f3ecf3dea68639da18690992d.tar.bz2
rtmux-5caec3020d32596f3ecf3dea68639da18690992d.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-find-window.c')
-rw-r--r--cmd-find-window.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/cmd-find-window.c b/cmd-find-window.c
index 1733b717..9c31cc0e 100644
--- a/cmd-find-window.c
+++ b/cmd-find-window.c
@@ -48,11 +48,14 @@ void cmd_find_window_callback(struct window_choose_data *);
CMD_FIND_WINDOW_BY_NAME)
const struct cmd_entry cmd_find_window_entry = {
- "find-window", "findw",
- "F:CNt:T", 1, 4,
- "[-CNT] [-F format] " CMD_TARGET_WINDOW_USAGE " match-string",
- CMD_WINDOW_T,
- cmd_find_window_exec
+ .name = "find-window",
+ .alias = "findw",
+
+ .args = { "F:CNt:T", 1, 4 },
+ .usage = "[-CNT] [-F format] " CMD_TARGET_WINDOW_USAGE " match-string",
+
+ .flags = CMD_WINDOW_T,
+ .exec = cmd_find_window_exec
};
struct cmd_find_window_data {