diff --git a/cmd-show-options.c b/cmd-show-options.c index 8211e8da..1e1518f6 100644 --- a/cmd-show-options.c +++ b/cmd-show-options.c @@ -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);