version 1.8, 2009/12/03 17:44:02 |
version 1.9, 2011/01/04 00:42:47 |
|
|
|
|
const struct cmd_entry cmd_show_window_options_entry = { |
const struct cmd_entry cmd_show_window_options_entry = { |
"show-window-options", "showw", |
"show-window-options", "showw", |
|
"gt:", 0, 0, |
"[-g] " CMD_TARGET_WINDOW_USAGE, |
"[-g] " CMD_TARGET_WINDOW_USAGE, |
0, "g", |
0, |
cmd_target_init, |
NULL, |
cmd_target_parse, |
NULL, |
cmd_show_window_options_exec, |
cmd_show_window_options_exec |
cmd_target_free, |
|
cmd_target_print |
|
}; |
}; |
|
|
int |
int |
cmd_show_window_options_exec(struct cmd *self, struct cmd_ctx *ctx) |
cmd_show_window_options_exec(struct cmd *self, struct cmd_ctx *ctx) |
{ |
{ |
struct cmd_target_data *data = self->data; |
struct args *args = self->args; |
|
|
cmd_set_flag(&data->chflags, 'w'); |
args_set(args, 'w', NULL); |
return (cmd_show_options_entry.exec(self, ctx)); |
return (cmd_show_options_entry.exec(self, ctx)); |
} |
} |