Still need to walk the options tree for user options.

pull/1805/head
nicm 2019-06-20 13:39:17 +00:00
parent 5f92f92908
commit c1573727f0
1 changed files with 6 additions and 0 deletions

View File

@ -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;