summaryrefslogtreecommitdiffstats
path: root/cmd-show-options.c
diff options
context:
space:
mode:
authornicm <nicm>2019-06-20 13:39:17 +0000
committernicm <nicm>2019-06-20 13:39:17 +0000
commitc1573727f0ea1d8a2530edc1a7848d9aa1d6f590 (patch)
treea3c07b35a8a159de685a75183172a3e099de6046 /cmd-show-options.c
parent5f92f92908b81b4ec66682adb84b9ffc8d83c2f7 (diff)
Still need to walk the options tree for user options.
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 5b22b8bd..0b9eb096 100644
--- a/cmd-show-options.c
+++ b/cmd-show-options.c
@@ -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;