diff options
author | Michael Tretter <m.tretter@pengutronix.de> | 2019-04-04 16:53:14 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-04-05 14:45:16 +0200 |
commit | 747be0f2bbedcc3bc397ab8be289885ee24e0dbf (patch) | |
tree | b1e32e82668e90ed5a100e91ba385a566957c26a /commands/of_fixup_status.c | |
parent | ed9006f488dfb2419175a270271440f39093983c (diff) | |
download | barebox-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_fixup_status.c')
-rw-r--r-- | commands/of_fixup_status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/of_fixup_status.c b/commands/of_fixup_status.c index 9a4a619195..e0da429ac3 100644 --- a/commands/of_fixup_status.c +++ b/commands/of_fixup_status.c @@ -59,7 +59,7 @@ static int do_of_fixup_status(int argc, char *argv[]) BAREBOX_CMD_HELP_START(of_fixup_status) BAREBOX_CMD_HELP_TEXT("Options:") BAREBOX_CMD_HELP_OPT("-d", "disable node") -BAREBOX_CMD_HELP_OPT("path", "Node path\n") +BAREBOX_CMD_HELP_OPT("path", "Node path") BAREBOX_CMD_HELP_TEXT("Register a fixup to enable or disable a device tree node.") BAREBOX_CMD_HELP_TEXT("Nodes are enabled on default. Disabled with -d.") BAREBOX_CMD_HELP_END |