summaryrefslogtreecommitdiffstats
path: root/commands/of_dump.c
diff options
context:
space:
mode:
authorMichael Tretter <m.tretter@pengutronix.de>2019-04-04 16:53:14 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-04-05 14:45:16 +0200
commit747be0f2bbedcc3bc397ab8be289885ee24e0dbf (patch)
treeb1e32e82668e90ed5a100e91ba385a566957c26a /commands/of_dump.c
parented9006f488dfb2419175a270271440f39093983c (diff)
downloadbarebox-747be0f2bbedcc3bc397ab8be289885ee24e0dbf.tar.gz
barebox-747be0f2bbedcc3bc397ab8be289885ee24e0dbf.tar.xz
commands: unify newlines for options
The BAREBOX_CMD_HELP_OPT macro adds a newline to the string, but users of the macro inconsistently add another newline resulting in empty newlines for some commands, but not for others. Remove any newline in the description and rely on BAREBOX_CMD_HELP_OPT for the formatting. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/of_dump.c')
-rw-r--r--commands/of_dump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/of_dump.c b/commands/of_dump.c
index 7bec0b925e..06b8e9fcda 100644
--- a/commands/of_dump.c
+++ b/commands/of_dump.c
@@ -139,9 +139,9 @@ out:
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_OPT ("-f dtb", "work on dtb instead of internal devicetree")
+BAREBOX_CMD_HELP_OPT ("-F", "return fixed devicetree")
+BAREBOX_CMD_HELP_OPT ("-n", "Print node names only, no properties")
BAREBOX_CMD_HELP_END
BAREBOX_CMD_START(of_dump)