aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-02-22 23:04:53 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-02-22 23:04:53 +0000
commit3a2e9d805a80e683078994d86a5390bf5deed9fc (patch)
tree3800077b20ff9c9f7b34c8dd21c20f70209ca9d3 /tmux.h
parent911ef4e69a483d11045551628971761e8d1ecc22 (diff)
downloadrtmux-3a2e9d805a80e683078994d86a5390bf5deed9fc.tar.gz
rtmux-3a2e9d805a80e683078994d86a5390bf5deed9fc.tar.bz2
rtmux-3a2e9d805a80e683078994d86a5390bf5deed9fc.zip
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 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index b80face5..c905b664 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1728,7 +1728,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 **);