aboutsummaryrefslogtreecommitdiff
path: root/cmd-command-prompt.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2011-01-07 15:04:51 +0000
committerTiago Cunha <tcunha@gmx.com>2011-01-07 15:04:51 +0000
commit3d4ebeb1b0cee67e9aad1d3454a2f835f8d9c7f5 (patch)
treed4b02c078833c7db1ec53fa1039bb187b75193e3 /cmd-command-prompt.c
parent0fc4353fb39097e4d709013faac0750208f3e836 (diff)
downloadrtmux-3d4ebeb1b0cee67e9aad1d3454a2f835f8d9c7f5.tar.gz
rtmux-3d4ebeb1b0cee67e9aad1d3454a2f835f8d9c7f5.tar.bz2
rtmux-3d4ebeb1b0cee67e9aad1d3454a2f835f8d9c7f5.zip
Sync OpenBSD patchset 832:
Whoops, command-prompt can take 0 or 1 argument.
Diffstat (limited to 'cmd-command-prompt.c')
-rw-r--r--cmd-command-prompt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-command-prompt.c b/cmd-command-prompt.c
index 4eb9511d..1fc3dea2 100644
--- a/cmd-command-prompt.c
+++ b/cmd-command-prompt.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-command-prompt.c,v 1.29 2011-01-07 14:45:34 tcunha Exp $ */
+/* $Id: cmd-command-prompt.c,v 1.30 2011-01-07 15:04:51 tcunha Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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,