diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2019-05-12 18:18:31 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2019-05-12 18:18:31 +0000 |
commit | 88ad5ecf9f0efbd1ea6f002118f76bcef2782d87 (patch) | |
tree | ed8f486cf48ed0bb4db58182d972c1b8fa60e544 /usr.bin/tmux/cmd-show-options.c | |
parent | 9cc06177bfbc68eaaa608d7a3c416abfd825c184 (diff) |
Oops, removed too much in last change.
Diffstat (limited to 'usr.bin/tmux/cmd-show-options.c')
-rw-r--r-- | usr.bin/tmux/cmd-show-options.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-show-options.c b/usr.bin/tmux/cmd-show-options.c index 2baf2bdab4d..764ea399254 100644 --- a/usr.bin/tmux/cmd-show-options.c +++ b/usr.bin/tmux/cmd-show-options.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-show-options.c,v 1.50 2019/05/12 18:16:33 nicm Exp $ */ +/* $OpenBSD: cmd-show-options.c,v 1.51 2019/05/12 18:18:30 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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); |