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

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(-)
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"

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"

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!
participants (3)
-
Maxin B. John
-
Sjoerd Simons
-
Tom Rini