summaryrefslogtreecommitdiffstats
path: root/cmd-command-prompt.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2011-01-05 22:38:28 +0000
committerNicholas Marriott <nicm@openbsd.org>2011-01-05 22:38:28 +0000
commit64f02dab7cab4848a00da4aca39dd307b1ce792c (patch)
tree55fb680a49b383458fdf16a9829929f4be76b573 /cmd-command-prompt.c
parent96c37fa80a46e189b9b6535242aa1966f4d375c8 (diff)
Whoops, command-prompt can take 0 or 1 argument.
Diffstat (limited to 'cmd-command-prompt.c')
-rw-r--r--cmd-command-prompt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-command-prompt.c b/cmd-command-prompt.c
index db50adc7..0bb4e209 100644
--- a/cmd-command-prompt.c
+++ b/cmd-command-prompt.c
@@ -36,7 +36,7 @@ void cmd_command_prompt_free(void *);
const struct cmd_entry cmd_command_prompt_entry = {
"command-prompt", NULL,
- "p:t:", 0, 0,
+ "p:t:", 0, 1,
CMD_TARGET_CLIENT_USAGE " [-p prompts] [template]",
0,
cmd_command_prompt_key_binding,