summaryrefslogtreecommitdiffstats
path: root/cmd-show-options.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-show-options.c
parentd371764d022b6c074f967faee815c3117203451e (diff)
Add args parsing callback for some future work, currently unused.
Diffstat (limited to 'cmd-show-options.c')
-rw-r--r--cmd-show-options.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd-show-options.c b/cmd-show-options.c
index 4d0acb42..bdcd3e78 100644
--- a/cmd-show-options.c
+++ b/cmd-show-options.c
@@ -39,7 +39,7 @@ const struct cmd_entry cmd_show_options_entry = {
.name = "show-options",
.alias = "show",
- .args = { "AgHpqst:vw", 0, 1 },
+ .args = { "AgHpqst:vw", 0, 1, NULL },
.usage = "[-AgHpqsvw] " CMD_TARGET_PANE_USAGE " [option]",
.target = { 't', CMD_FIND_PANE, CMD_FIND_CANFAIL },
@@ -52,7 +52,7 @@ const struct cmd_entry cmd_show_window_options_entry = {
.name = "show-window-options",
.alias = "showw",
- .args = { "gvt:", 0, 1 },
+ .args = { "gvt:", 0, 1, NULL },
.usage = "[-gv] " CMD_TARGET_WINDOW_USAGE " [option]",
.target = { 't', CMD_FIND_WINDOW, CMD_FIND_CANFAIL },
@@ -65,7 +65,7 @@ const struct cmd_entry cmd_show_hooks_entry = {
.name = "show-hooks",
.alias = NULL,
- .args = { "gpt:w", 0, 1 },
+ .args = { "gpt:w", 0, 1, NULL },
.usage = "[-gpw] " CMD_TARGET_PANE_USAGE,
.target = { 't', CMD_FIND_PANE, CMD_FIND_CANFAIL },