summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2019-05-12 18:18:30 +0000
committernicm <nicm@openbsd.org>2019-05-12 18:18:30 +0000
commitd0dbe0f38d03dd61d4cc879f0883aa49fa2a5814 (patch)
tree7929ecb1b329c3ffcffac8247a1cb79f963203eb
parentFix some indentation and dead assignments. (diff)
downloadwireguard-openbsd-d0dbe0f38d03dd61d4cc879f0883aa49fa2a5814.tar.xz
wireguard-openbsd-d0dbe0f38d03dd61d4cc879f0883aa49fa2a5814.zip
Oops, removed too much in last change.
-rw-r--r--usr.bin/tmux/cmd-show-options.c6
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);