Oops, removed too much in last change.

pull/1741/head
nicm 2019-05-12 18:18:30 +00:00
parent 00f19b7f91
commit c3c3927c2b
1 changed files with 3 additions and 1 deletions

View File

@ -90,8 +90,10 @@ cmd_show_options_exec(struct cmd *self, struct cmdq_item *item)
struct options_entry *o;
window = (self->entry == &cmd_show_window_options_entry);
if (args->argc == 0)
if (args->argc == 0) {
options_scope_from_flags(args, window, fs, &oo, &cause);
return (cmd_show_options_all(self, item, oo));
}
argument = format_single(item, args->argv[0], c, s, wl, NULL);
name = options_match(argument, &idx, &ambiguous);