[U-Boot] [PATCH 4/6] gpt: doc: Update gpt command's help description

Lukasz Majewski l.majewski at majess.pl
Fri Nov 13 07:42:10 CET 2015


Signed-off-by: Lukasz Majewski <l.majewski at majess.pl>
---
 common/cmd_gpt.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/common/cmd_gpt.c b/common/cmd_gpt.c
index 4c71125..be54eae 100644
--- a/common/cmd_gpt.c
+++ b/common/cmd_gpt.c
@@ -350,7 +350,10 @@ static int do_gpt(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 U_BOOT_CMD(gpt, CONFIG_SYS_MAXARGS, 1, do_gpt,
 	"GUID Partition Table",
 	"<command> <interface> <dev> <partitions_list>\n"
-	" - GUID partition table restoration\n"
-	" Restore GPT information on a device connected\n"
+	" - GUID partition table restoration and validity check\n"
+	" Restore or verify GPT information on a device connected\n"
 	" to interface\n"
+	" Example usage:\n"
+	" gpt write mmc 0 $partitions\n"
+	" gpt verify mmc 0 $partitions\n"
 );
-- 
2.1.4



More information about the U-Boot mailing list