don't print anything for configuration entries that are deprecated
Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
e47ad57f09
commit
519a1ffb92
1 changed files with 1 additions and 1 deletions
|
@ -2300,7 +2300,7 @@ static void print_configitems(struct cfgst *cfgst, void *parent, int isattr, str
|
||||||
for ( ce = cfgelem; ce && ce->name; ce++ ) {
|
for ( ce = cfgelem; ce && ce->name; ce++ ) {
|
||||||
struct cfgst_nodekey key;
|
struct cfgst_nodekey key;
|
||||||
struct cfgst_node *n;
|
struct cfgst_node *n;
|
||||||
if ( ce->name[0] == '>' ) /* moved, so don't care */
|
if ( ce->name[0] == '>' || ce->name[0] == '|') /* moved or deprecated, so don't care */
|
||||||
continue;
|
continue;
|
||||||
key.e = ce;
|
key.e = ce;
|
||||||
cfgst_push(cfgst, isattr, ce, parent);
|
cfgst_push(cfgst, isattr, ce, parent);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue