summaryrefslogtreecommitdiffstats
path: root/cmd-select-window.c
diff options
context:
space:
mode:
authornicm <nicm>2021-08-21 10:22:38 +0000
committernicm <nicm>2021-08-21 10:22:38 +0000
commit08e6360f23284c9e2e521cb466002bdd9350a63d (patch)
treeb70a3e2d2df8ace7f10b64fc5001bceb9fad9c05 /cmd-select-window.c
parentd371764d022b6c074f967faee815c3117203451e (diff)
Add args parsing callback for some future work, currently unused.
Diffstat (limited to 'cmd-select-window.c')
-rw-r--r--cmd-select-window.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd-select-window.c b/cmd-select-window.c
index 8dd358b0..4aca3e60 100644
--- a/cmd-select-window.c
+++ b/cmd-select-window.c
@@ -33,7 +33,7 @@ const struct cmd_entry cmd_select_window_entry = {
.name = "select-window",
.alias = "selectw",
- .args = { "lnpTt:", 0, 0 },
+ .args = { "lnpTt:", 0, 0, NULL },
.usage = "[-lnpT] " CMD_TARGET_WINDOW_USAGE,
.target = { 't', CMD_FIND_WINDOW, 0 },
@@ -46,7 +46,7 @@ const struct cmd_entry cmd_next_window_entry = {
.name = "next-window",
.alias = "next",
- .args = { "at:", 0, 0 },
+ .args = { "at:", 0, 0, NULL },
.usage = "[-a] " CMD_TARGET_SESSION_USAGE,
.target = { 't', CMD_FIND_SESSION, 0 },
@@ -59,7 +59,7 @@ const struct cmd_entry cmd_previous_window_entry = {
.name = "previous-window",
.alias = "prev",
- .args = { "at:", 0, 0 },
+ .args = { "at:", 0, 0, NULL },
.usage = "[-a] " CMD_TARGET_SESSION_USAGE,
.target = { 't', CMD_FIND_SESSION, 0 },
@@ -72,7 +72,7 @@ const struct cmd_entry cmd_last_window_entry = {
.name = "last-window",
.alias = "last",
- .args = { "t:", 0, 0 },
+ .args = { "t:", 0, 0, NULL },
.usage = CMD_TARGET_SESSION_USAGE,
.target = { 't', CMD_FIND_SESSION, 0 },