diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2014-07-04 12:18:42 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-07-07 08:32:55 +0200 |
commit | 01d3c9a5edfaada7150706901238c6e3907c5f50 (patch) | |
tree | 82a6dde09ae21ce410a0e3af13be136465d67b14 | |
parent | 24adc2b69d88d2d906b8023abe7686b009e133b4 (diff) | |
download | barebox-01d3c9a5edfaada7150706901238c6e3907c5f50.tar.gz barebox-01d3c9a5edfaada7150706901238c6e3907c5f50.tar.xz |
Clean up Kconfig and source for a couple device tree commands.
Correct options listings for a couple device tree-related commands.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | commands/Kconfig | 3 | ||||
-rw-r--r-- | commands/of_dump.c | 2 | ||||
-rw-r--r-- | commands/oftree.c | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/commands/Kconfig b/commands/Kconfig index c98dbc5da5..392ac494b0 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -1958,10 +1958,11 @@ config CMD_OFTREE help oftree - handle device trees - Usage: oftree [-lpfdn] [DTB] + Usage: oftree [-lspf] [DTB] Options: -l Load DTB to internal device tree + -s save internal device tree to DTB -p probe devices from stored device tree -f free stored device tree diff --git a/commands/of_dump.c b/commands/of_dump.c index e3419427d6..cafde07b7c 100644 --- a/commands/of_dump.c +++ b/commands/of_dump.c @@ -101,7 +101,7 @@ BAREBOX_CMD_HELP_END BAREBOX_CMD_START(of_dump) .cmd = do_of_dump, BAREBOX_CMD_DESC("dump devicetree nodes") - BAREBOX_CMD_OPTS("[-f]") + BAREBOX_CMD_OPTS("[-f] [NODE]") BAREBOX_CMD_GROUP(CMD_GRP_MISC) BAREBOX_CMD_COMPLETE(devicetree_file_complete) BAREBOX_CMD_HELP(cmd_of_dump_help) diff --git a/commands/oftree.c b/commands/oftree.c index a3b0e04861..983a0a59ea 100644 --- a/commands/oftree.c +++ b/commands/oftree.c @@ -145,7 +145,7 @@ BAREBOX_CMD_HELP_END BAREBOX_CMD_START(oftree) .cmd = do_oftree, BAREBOX_CMD_DESC("handle device trees") - BAREBOX_CMD_OPTS("[-lpfs]") + BAREBOX_CMD_OPTS("[-lspf]") BAREBOX_CMD_GROUP(CMD_GRP_MISC) BAREBOX_CMD_HELP(cmd_oftree_help) BAREBOX_CMD_END |