[PATCH] commands: of_dump: Add description for -n option
Sascha Hauer
s.hauer at pengutronix.de
Fri Feb 12 00:46:09 PST 2016
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
commands/of_dump.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/commands/of_dump.c b/commands/of_dump.c
index b15f54a..7bec0b9 100644
--- a/commands/of_dump.c
+++ b/commands/of_dump.c
@@ -141,12 +141,13 @@ BAREBOX_CMD_HELP_START(of_dump)
BAREBOX_CMD_HELP_TEXT("Options:")
BAREBOX_CMD_HELP_OPT ("-f dtb", "work on dtb instead of internal devicetree\n")
BAREBOX_CMD_HELP_OPT ("-F", "return fixed devicetree\n")
+BAREBOX_CMD_HELP_OPT ("-n", "Print node names only, no properties\n")
BAREBOX_CMD_HELP_END
BAREBOX_CMD_START(of_dump)
.cmd = do_of_dump,
BAREBOX_CMD_DESC("dump devicetree nodes")
- BAREBOX_CMD_OPTS("[-fF] [NODE]")
+ BAREBOX_CMD_OPTS("[-fFn] [NODE]")
BAREBOX_CMD_GROUP(CMD_GRP_MISC)
BAREBOX_CMD_COMPLETE(devicetree_file_complete)
BAREBOX_CMD_HELP(cmd_of_dump_help)
--
2.7.0.rc3
More information about the barebox
mailing list