summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2011-01-05 22:38:28 +0000
committernicm <nicm@openbsd.org>2011-01-05 22:38:28 +0000
commita410d86c73a5d0d40951c44cf9e9b6e84ad8c623 (patch)
tree98d1e41a936305cdb9f1822e64e655d0f3d211c1
parentIgnore MCFG tables with an empty bus range. Makes stu@'s amd64 machine (diff)
downloadwireguard-openbsd-a410d86c73a5d0d40951c44cf9e9b6e84ad8c623.tar.xz
wireguard-openbsd-a410d86c73a5d0d40951c44cf9e9b6e84ad8c623.zip
Whoops, command-prompt can take 0 or 1 argument.
-rw-r--r--usr.bin/tmux/cmd-command-prompt.c4
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,