diff mbox

[U-Boot] cmd_part: fix usage text

Message ID 1430178298-14821-1-git-send-email-maxin.john@enea.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

maxin.john@enea.com April 27, 2015, 11:44 p.m. UTC
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@enea.com>
---
 common/cmd_part.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Sjoerd Simons April 28, 2015, 6:16 a.m. UTC | #1
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@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@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"
Tom Rini May 10, 2015, 2:08 p.m. UTC | #2
On Tue, Apr 28, 2015 at 01:44:58AM +0200, maxin.john@enea.com 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@enea.com>
> Reviewed-By: Sjoerd Simons <sjoerd.simons@collabora.co.uk

Applied to u-boot/master, thanks!
diff mbox

Patch

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"