diff options
author | nicm <nicm> | 2021-08-21 10:22:38 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-08-21 10:22:38 +0000 |
commit | 08e6360f23284c9e2e521cb466002bdd9350a63d (patch) | |
tree | b70a3e2d2df8ace7f10b64fc5001bceb9fad9c05 /cmd-set-option.c | |
parent | d371764d022b6c074f967faee815c3117203451e (diff) |
Add args parsing callback for some future work, currently unused.
Diffstat (limited to 'cmd-set-option.c')
-rw-r--r-- | cmd-set-option.c | 6 |
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 }, |