diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2013-03-24 09:27:21 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2013-03-24 09:27:21 +0000 |
commit | 305b745009bf24b8ebbc52b8222585c7e8aa0f92 (patch) | |
tree | 639517781f3838f92ef715fe5d226080d80d71e8 /usr.bin/tmux/tmux.h | |
parent | 1163df4c48716f5f24bbe37bb69ac58935436089 (diff) |
Fix error reporting for client commands by adding a flag to
cmd_find_client to tell it whether or not to show errors, sometimes it's
needed and sometimes not.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 3f69da4fd13..7cace64adb8 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.394 2013/03/24 09:25:04 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.395 2013/03/24 09:27:20 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -1732,7 +1732,7 @@ struct cmd *cmd_parse(int, char **, char **); size_t cmd_print(struct cmd *, char *, size_t); struct session *cmd_current_session(struct cmd_ctx *, int); struct client *cmd_current_client(struct cmd_ctx *); -struct client *cmd_find_client(struct cmd_ctx *, const char *); +struct client *cmd_find_client(struct cmd_ctx *, const char *, int); struct session *cmd_find_session(struct cmd_ctx *, const char *, int); struct winlink *cmd_find_window( struct cmd_ctx *, const char *, struct session **); |