version 1.61, 2020/04/13 10:59:58 |
version 1.62, 2020/04/13 20:51:57 |
|
|
{ |
{ |
struct args *args = cmd_get_args(self); |
struct args *args = cmd_get_args(self); |
struct cmd_find_state *target = cmdq_get_target(item); |
struct cmd_find_state *target = cmdq_get_target(item); |
struct client *c = cmd_find_client(item, NULL, 1); |
struct client *tc = cmdq_get_target_client(item); |
struct options *oo; |
struct options *oo; |
char *argument, *name = NULL, *cause; |
char *argument, *name = NULL, *cause; |
int window, idx, ambiguous, parent, scope; |
int window, idx, ambiguous, parent, scope; |
|
|
} |
} |
return (cmd_show_options_all(self, item, scope, oo)); |
return (cmd_show_options_all(self, item, scope, oo)); |
} |
} |
argument = format_single_from_target(item, args->argv[0], c); |
argument = format_single_from_target(item, args->argv[0]); |
|
|
name = options_match(argument, &idx, &ambiguous); |
name = options_match(argument, &idx, &ambiguous); |
if (name == NULL) { |
if (name == NULL) { |