aboutsummaryrefslogtreecommitdiff
path: root/cmd-set-option.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2021-08-21 12:01:41 +0100
committerThomas Adam <thomas@xteddy.org>2021-08-21 12:01:41 +0100
commit62036121fa3f69a93031f90956e659e090d79a1f (patch)
treeff1f52ad0c756d30e0dcc53adf8efd775da80c5a /cmd-set-option.c
parentb0da0cee4d54aa64db0f49eee509a76fd89d6f68 (diff)
parent110ba767e591946d6784acef87737850f2ad3ae9 (diff)
downloadrtmux-62036121fa3f69a93031f90956e659e090d79a1f.tar.gz
rtmux-62036121fa3f69a93031f90956e659e090d79a1f.tar.bz2
rtmux-62036121fa3f69a93031f90956e659e090d79a1f.zip
Merge branch 'obsd-master' into master
Diffstat (limited to 'cmd-set-option.c')
-rw-r--r--cmd-set-option.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c
index 48e04eed..8839dc0d 100644
--- a/cmd-set-option.c
+++ b/cmd-set-option.c
@@ -33,7 +33,7 @@ const struct cmd_entry cmd_set_option_entry = {
.name = "set-option",
.alias = "set",
- .args = { "aFgopqst:uUw", 1, 2 },
+ .args = { "aFgopqst:uUw", 1, 2, NULL },
.usage = "[-aFgopqsuUw] " CMD_TARGET_PANE_USAGE " option [value]",
.target = { 't', CMD_FIND_PANE, CMD_FIND_CANFAIL },
@@ -46,7 +46,7 @@ const struct cmd_entry cmd_set_window_option_entry = {
.name = "set-window-option",
.alias = "setw",
- .args = { "aFgoqt:u", 1, 2 },
+ .args = { "aFgoqt:u", 1, 2, NULL },
.usage = "[-aFgoqu] " CMD_TARGET_WINDOW_USAGE " option [value]",
.target = { 't', CMD_FIND_WINDOW, CMD_FIND_CANFAIL },
@@ -59,7 +59,7 @@ const struct cmd_entry cmd_set_hook_entry = {
.name = "set-hook",
.alias = NULL,
- .args = { "agpRt:uw", 1, 2 },
+ .args = { "agpRt:uw", 1, 2, NULL },
.usage = "[-agpRuw] " CMD_TARGET_PANE_USAGE " hook [command]",
.target = { 't', CMD_FIND_PANE, CMD_FIND_CANFAIL },