[U-Boot] [PATCH] cmd_part: fix usage text

Sjoerd Simons sjoerd.simons at collabora.co.uk
Tue Apr 28 08:16:15 CEST 2015


On Tue, 2015-04-28 at 01:44 +0200, Maxin B. John wrote:
> Fix the usage info from:
> part part uuid <interface> <dev>:<part>
> to
> part uuid <interface> <dev>:<part>
> 
> Signed-off-by: Maxin B. John <maxin.john at enea.com>

Another case of the automatic command prefixing in the long description
leading to stuttering :) patch looks good to me

Reviewed-By: Sjoerd Simons <sjoerd.simons at collabora.co.uk

> ---
>  common/cmd_part.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/common/cmd_part.c b/common/cmd_part.c
> index d04588e..8483c12 100644
> --- a/common/cmd_part.c
> +++ b/common/cmd_part.c
> @@ -128,7 +128,7 @@ static int do_part(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
>  U_BOOT_CMD(
>  	part,	CONFIG_SYS_MAXARGS,	1,	do_part,
>  	"disk partition related commands",
> -	"part uuid <interface> <dev>:<part>\n"
> +	"uuid <interface> <dev>:<part>\n"
>  	"    - print partition UUID\n"
>  	"part uuid <interface> <dev>:<part> <varname>\n"
>  	"    - set environment variable to partition UUID\n"




More information about the U-Boot mailing list