genconf: enable long and short display of nodes
authorOlivier Matz <zer0@droids-corp.org>
Fri, 24 Dec 2010 11:46:36 +0000 (12:46 +0100)
committerOlivier Matz <zer0@droids-corp.org>
Sun, 2 Jan 2011 20:53:15 +0000 (21:53 +0100)
Signed-off-by: Olivier Matz <zer0@droids-corp.org>
src/genconf/commands.c

index 7978e70..260502c 100644 (file)
@@ -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);
        }
 }