summaryrefslogtreecommitdiffstats
path: root/cmd-display-menu.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-display-menu.c
parentd371764d022b6c074f967faee815c3117203451e (diff)
Add args parsing callback for some future work, currently unused.
Diffstat (limited to 'cmd-display-menu.c')
-rw-r--r--cmd-display-menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-display-menu.c b/cmd-display-menu.c
index a8eda0d2..b80f8d46 100644
--- a/cmd-display-menu.c
+++ b/cmd-display-menu.c
@@ -37,7 +37,7 @@ const struct cmd_entry cmd_display_menu_entry = {
.name = "display-menu",
.alias = "menu",
- .args = { "c:t:OT:x:y:", 1, -1 },
+ .args = { "c:t:OT:x:y:", 1, -1, NULL },
.usage = "[-O] [-c target-client] " CMD_TARGET_PANE_USAGE " [-T title] "
"[-x position] [-y position] name key command ...",
@@ -51,7 +51,7 @@ const struct cmd_entry cmd_display_popup_entry = {
.name = "display-popup",
.alias = "popup",
- .args = { "BCc:d:Eh:t:w:x:y:", 0, -1 },
+ .args = { "BCc:d:Eh:t:w:x:y:", 0, -1, NULL },
.usage = "[-BCE] [-c target-client] [-d start-directory] [-h height] "
CMD_TARGET_PANE_USAGE " [-w width] "
"[-x position] [-y position] [command]",