From: Olivier Matz Date: Fri, 24 Dec 2010 11:46:36 +0000 (+0100) Subject: genconf: enable long and short display of nodes X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9dff21de424282f51bfe69484403fcd0c6ff5ee4;p=libcmdline.git genconf: enable long and short display of nodes Signed-off-by: Olivier Matz --- diff --git a/src/genconf/commands.c b/src/genconf/commands.c index 7978e70..260502c 100644 --- a/src/genconf/commands.c +++ b/src/genconf/commands.c @@ -110,7 +110,7 @@ static void cmd_ls_node_parsed(void *parsed_result, struct confnode *n = res->node; while (n) { - //display_one_confnode(n); + confnode_display_short(n); n = TAILQ_NEXT(n, user_next); } } @@ -506,7 +506,7 @@ static void cmd_show_node_parsed(void *parsed_result, details = 1; while (n) { - //dump_one_confnode(n); + confnode_display_long(n); n = TAILQ_NEXT(n, user_next); } }