From: Stephen Warren Date: Thu, 28 Feb 2013 15:05:34 +0000 (+0000) Subject: cmd_part: don't print cmd name twice in help X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=92668d68c1ccdbe41ace6cc3066e5d1e0113e719;p=u-boot.git cmd_part: don't print cmd name twice in help The core implementation of "help" already prints the command name before the help text of a specific command. Remove it from part's own help text to avoid it being printed twice: Tegra114 (Dalmore) # help part part - disk partition related commands Usage: part part uuid : - print partition UUID ... Signed-off-by: Stephen Warren --- diff --git a/common/cmd_part.c b/common/cmd_part.c index d997597c1e..b79f074f84 100644 --- a/common/cmd_part.c +++ b/common/cmd_part.c @@ -96,7 +96,7 @@ int do_part(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) U_BOOT_CMD( part, 5, 1, do_part, "disk partition related commands", - "part uuid :\n" + "uuid :\n" " - print partition UUID\n" "part uuid : \n" " - set environment variable to partition UUID\n"