summaryrefslogtreecommitdiffstats
path: root/commands/of_node.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/of_node.c')
-rw-r--r--commands/of_node.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/commands/of_node.c b/commands/of_node.c
index 17deb50be2..901da88735 100644
--- a/commands/of_node.c
+++ b/commands/of_node.c
@@ -94,14 +94,15 @@ static int do_of_node(int argc, char *argv[])
}
BAREBOX_CMD_HELP_START(of_node)
-BAREBOX_CMD_HELP_USAGE("of_node [OPTIONS] [NODE] [NAME]\n")
-BAREBOX_CMD_HELP_OPT ("-c", "create a new node\n")
-BAREBOX_CMD_HELP_OPT ("-d", "delete a node\n")
+BAREBOX_CMD_HELP_TEXT("Options:")
+BAREBOX_CMD_HELP_OPT ("-c", "create a new node")
+BAREBOX_CMD_HELP_OPT ("-d", "delete a node")
BAREBOX_CMD_HELP_END
BAREBOX_CMD_START(of_node)
.cmd = do_of_node,
- .usage = "handle of nodes",
+ BAREBOX_CMD_DESC("create/delete nodes in the device tree")
+ BAREBOX_CMD_OPTS("[-cd] NODE NAME")
BAREBOX_CMD_GROUP(CMD_GRP_MISC)
BAREBOX_CMD_HELP(cmd_of_node_help)
BAREBOX_CMD_END