From 3d4ebeb1b0cee67e9aad1d3454a2f835f8d9c7f5 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Fri, 7 Jan 2011 15:04:51 +0000 Subject: [PATCH] Sync OpenBSD patchset 832: Whoops, command-prompt can take 0 or 1 argument. --- cmd-command-prompt.c | 4 ++-- 1 file 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 @@ -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,