aboutsummaryrefslogtreecommitdiff
path: root/cmd-command-prompt.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-12-13 23:46:58 +0000
committerThomas Adam <thomas@xteddy.org>2015-12-13 23:46:58 +0000
commit5caec3020d32596f3ecf3dea68639da18690992d (patch)
treeda0cde36d73215aa603d1897279aa9431f403d06 /cmd-command-prompt.c
parentf4adcfa0e2f4451616738a8c65f9eef2855fc757 (diff)
parentecfeee2e8255a77f82a07124c93c8dbc7683c421 (diff)
downloadrtmux-5caec3020d32596f3ecf3dea68639da18690992d.tar.gz
rtmux-5caec3020d32596f3ecf3dea68639da18690992d.tar.bz2
rtmux-5caec3020d32596f3ecf3dea68639da18690992d.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-command-prompt.c')
-rw-r--r--cmd-command-prompt.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/cmd-command-prompt.c b/cmd-command-prompt.c
index 900fceb9..64b24bb5 100644
--- a/cmd-command-prompt.c
+++ b/cmd-command-prompt.c
@@ -35,11 +35,15 @@ int cmd_command_prompt_callback(void *, const char *);
void cmd_command_prompt_free(void *);
const struct cmd_entry cmd_command_prompt_entry = {
- "command-prompt", NULL,
- "I:p:t:", 0, 1,
- "[-I inputs] [-p prompts] " CMD_TARGET_CLIENT_USAGE " [template]",
- CMD_CLIENT_T,
- cmd_command_prompt_exec
+ .name = "command-prompt",
+ .alias = NULL,
+
+ .args = { "I:p:t:", 0, 1 },
+ .usage = "[-I inputs] [-p prompts] " CMD_TARGET_CLIENT_USAGE " "
+ "[template]",
+
+ .flags = CMD_CLIENT_T,
+ .exec = cmd_command_prompt_exec
};
struct cmd_command_prompt_cdata {