summaryrefslogtreecommitdiffstats
path: root/cmd-show-options.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-06-20 17:02:26 +0100
committerThomas Adam <thomas@xteddy.org>2019-06-20 17:02:26 +0100
commit4a44ae06bf6c64350a336e0224a70a9505b5670f (patch)
tree863e9ce32229c5d1606bf2308df37fdf5d4d51a8 /cmd-show-options.c
parentf8ad72b2eeafc1146c116f73194a3950aa0c2143 (diff)
parentfc1df91e034627f674ed905be6a1159da883545e (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-show-options.c')
-rw-r--r--cmd-show-options.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd-show-options.c b/cmd-show-options.c
index 527f9892..da481139 100644
--- a/cmd-show-options.c
+++ b/cmd-show-options.c
@@ -199,6 +199,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;