diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-08-04 18:45:58 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-08-04 18:45:58 +0000 |
commit | 1d1b680823a76eab26489e7ae3f442098b411b4f (patch) | |
tree | 3aec6dbf1cb58aad8eaa7d28a663d80c6213ac9e /usr.bin/tmux/tmux.h | |
parent | 9a4a35bd309b8608c0ee0beff9563a81d187f7b0 (diff) |
Add a -a flag to set-option and set-window-option to append to an existing
string value, useful for terminal-overrides.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 90e117de049..1f4846fc372 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.67 2009/08/03 14:10:54 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.68 2009/08/04 18:45:57 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -1172,7 +1172,7 @@ int tty_keys_next(struct tty *, int *, u_char *); /* options-cmd.c */ void set_option_string(struct cmd_ctx *, - struct options *, const struct set_option_entry *, char *); + struct options *, const struct set_option_entry *, char *, int); void set_option_number(struct cmd_ctx *, struct options *, const struct set_option_entry *, char *); void set_option_key(struct cmd_ctx *, @@ -1326,10 +1326,10 @@ void cmd_buffer_init(struct cmd *, int); int cmd_buffer_parse(struct cmd *, int, char **, char **); void cmd_buffer_free(struct cmd *); size_t cmd_buffer_print(struct cmd *, char *, size_t); -#define CMD_OPTION_PANE_USAGE "[-gu] [-t target-pane] option [value]" -#define CMD_OPTION_WINDOW_USAGE "[-gu] [-t target-window] option [value]" -#define CMD_OPTION_SESSION_USAGE "[-gu] [-t target-session] option [value]" -#define CMD_OPTION_CLIENT_USAGE "[-gu] [-t target-client] option [value]" +#define CMD_OPTION_PANE_USAGE "[-t target-pane] option [value]" +#define CMD_OPTION_WINDOW_USAGE "[-t target-window] option [value]" +#define CMD_OPTION_SESSION_USAGE "[-t target-session] option [value]" +#define CMD_OPTION_CLIENT_USAGE "[-t target-client] option [value]" void cmd_option_init(struct cmd *, int); int cmd_option_parse(struct cmd *, int, char **, char **); void cmd_option_free(struct cmd *); |