diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2019-06-20 13:39:18 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2019-06-20 13:39:18 +0000 |
commit | 54c570e2200025f14a33f5e08738d3ee6035b3ac (patch) | |
tree | b10e4f208581b3217d9dc8eb2c73c26fe755ccb2 /usr.bin | |
parent | 40107596219d62e9ba96d04f9100ed5f9ae3ebc6 (diff) |
Still need to walk the options tree for user options.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tmux/cmd-show-options.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-show-options.c b/usr.bin/tmux/cmd-show-options.c index 387cb4018a6..c16aa8aa1c0 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.56 2019/06/20 11:59:59 nicm Exp $ */ +/* $OpenBSD: cmd-show-options.c,v 1.57 2019/06/20 13:39:17 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -200,6 +200,12 @@ cmd_show_options_all(struct cmd *self, struct cmdq_item *item, int scope, u_int idx; int parent; + o = options_first(oo); + while (o != NULL) { + if (options_table_entry(o) == NULL) + cmd_show_options_print(self, item, o, -1, 0); + o = options_next(o); + } for (oe = options_table; oe->name != NULL; oe++) { if (~oe->scope & scope) continue; |