diff options
author | 2015-12-14 00:31:54 +0000 | |
---|---|---|
committer | 2015-12-14 00:31:54 +0000 | |
commit | 8d471e801995645dbb422505c05a24faada2dcc8 (patch) | |
tree | 53050bf8a3c8815589e4807d4f55969b9d3b410e /usr.bin/tmux/cmd-command-prompt.c | |
parent | fix warnings; spotted by `mandoc -Tlint' (diff) | |
download | wireguard-openbsd-8d471e801995645dbb422505c05a24faada2dcc8.tar.xz wireguard-openbsd-8d471e801995645dbb422505c05a24faada2dcc8.zip |
Instead of combined flags for -c, -s, -t, split into different sets
using an enum and simplify the parsing code.
Diffstat (limited to 'usr.bin/tmux/cmd-command-prompt.c')
-rw-r--r-- | usr.bin/tmux/cmd-command-prompt.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-command-prompt.c b/usr.bin/tmux/cmd-command-prompt.c index 39b644670f6..2ca1ddc1913 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.31 2015/12/13 21:53:57 nicm Exp $ */ +/* $OpenBSD: cmd-command-prompt.c,v 1.32 2015/12/14 00:31:54 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net> @@ -42,7 +42,9 @@ const struct cmd_entry cmd_command_prompt_entry = { .usage = "[-I inputs] [-p prompts] " CMD_TARGET_CLIENT_USAGE " " "[template]", - .flags = CMD_CLIENT_T, + .tflag = CMD_CLIENT, + + .flags = 0, .exec = cmd_command_prompt_exec }; |