[PATCH] bootchooser: fix help message

Sascha Hauer s.hauer at pengutronix.de
Thu Jan 12 23:28:53 PST 2017


On Thu, Jan 12, 2017 at 05:13:13PM +0100, Jan Luebbe wrote:
> The descriptions of -a and -p were mismatched.
> 
> Signed-off-by: Jan Luebbe <jlu at pengutronix.de>
> ---
>  commands/bootchooser.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks

Sascha

> 
> diff --git a/commands/bootchooser.c b/commands/bootchooser.c
> index 91938fe55173..ac763a655385 100644
> --- a/commands/bootchooser.c
> +++ b/commands/bootchooser.c
> @@ -134,8 +134,8 @@ BAREBOX_CMD_HELP_START(bootchooser)
>  BAREBOX_CMD_HELP_TEXT("Control misc behaviour of the bootchooser")
>  BAREBOX_CMD_HELP_TEXT("")
>  BAREBOX_CMD_HELP_TEXT("Options:")
> -BAREBOX_CMD_HELP_OPT ("-a <n|default> [TARGETS]",  "set priority of given targets to 'n' or the default priority")
> -BAREBOX_CMD_HELP_OPT ("-p <n|default> [TARGETS]",  "set remaining attempts of given targets to 'n' or the default attempts")
> +BAREBOX_CMD_HELP_OPT ("-a <n|default> [TARGETS]",  "set remaining attempts of given targets to 'n' or the default attempts")
> +BAREBOX_CMD_HELP_OPT ("-p <n|default> [TARGETS]",  "set priority of given targets to 'n' or the default priority")
>  BAREBOX_CMD_HELP_OPT ("-i",  "Show information about the bootchooser")
>  BAREBOX_CMD_HELP_OPT ("-s",  "Mark the last boot successful")
>  BAREBOX_CMD_HELP_END
> -- 
> 2.1.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list