summaryrefslogtreecommitdiffstats
path: root/cmd-show-options.c
diff options
context:
space:
mode:
authornicm <nicm>2019-05-12 18:18:30 +0000
committernicm <nicm>2019-05-12 18:18:30 +0000
commitc3c3927c2bf90f10623374edb579eb19fb192ab7 (patch)
treef5619c89efc9216397c1a79226305001ca56850d /cmd-show-options.c
parent00f19b7f9160f32b3736da08116e5ea4f2409bb1 (diff)
Oops, removed too much in last change.
Diffstat (limited to 'cmd-show-options.c')
-rw-r--r--cmd-show-options.c4
1 files changed, 3 insertions, 1 deletions
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);