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/firmwareload.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/firmwareload.c')
-rw-r--r-- | commands/firmwareload.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/firmwareload.c b/commands/firmwareload.c index 071f25be99..dbd43e046d 100644 --- a/commands/firmwareload.c +++ b/commands/firmwareload.c @@ -55,8 +55,8 @@ static int do_firmwareload(int argc, char *argv[]) BAREBOX_CMD_HELP_START(firmwareload) BAREBOX_CMD_HELP_TEXT("Options:") -BAREBOX_CMD_HELP_OPT("-t <target>", "define the firmware handler by name\n") -BAREBOX_CMD_HELP_OPT("-l\t", "list devices capable of firmware loading\n") +BAREBOX_CMD_HELP_OPT("-t <target>", "define the firmware handler by name") +BAREBOX_CMD_HELP_OPT("-l\t", "list devices capable of firmware loading") BAREBOX_CMD_HELP_END BAREBOX_CMD_START(firmwareload) |