diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2011-01-05 22:38:29 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2011-01-05 22:38:29 +0000 |
commit | b6be427901ab5d95acc12832f4e5da50c72e38fe (patch) | |
tree | 02fba06236e50f1aafb8f176ee43491becfcb260 /usr.bin/tmux | |
parent | d2e4356a36b105293b12063292c5dc723c47a523 (diff) |
Whoops, command-prompt can take 0 or 1 argument.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r-- | usr.bin/tmux/cmd-command-prompt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-command-prompt.c b/usr.bin/tmux/cmd-command-prompt.c index edb083f1cfd..480afdccdeb 100644 --- a/usr.bin/tmux/cmd-command-prompt.c +++ b/usr.bin/tmux/cmd-command-prompt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-command-prompt.c,v 1.14 2011/01/04 00:42:46 nicm Exp $ */ +/* $OpenBSD: cmd-command-prompt.c,v 1.15 2011/01/05 22:38:28 nicm 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, |