genconf: enhance short and long display of confnodes
[libcmdline.git] / src / genconf / confnode_menu.c
index 4eafa4b..b6a7c97 100644 (file)
@@ -131,7 +131,7 @@ static const char *confnode_menu_get_type_str(const struct confnode *n)
 /* Print a one-line summary of the node. Used in case of 'ls'. */
 static void confnode_menu_display_short(const struct confnode *n)
 {
-       printf("    -> %s: %s\n", n->name, n->prompt);
+       printf("       -> %s: %s\n", n->name, n->prompt);
 }
 
 /* Print a detailed view of the node. */
@@ -141,7 +141,6 @@ static void confnode_menu_display_long(const struct confnode *n)
        printf("    path ");
        conf_display_path(n);
        printf("    \"%s\"\n", n->prompt);
-       printf("    no value\n");
 }
 
 /* register the node type */