diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-02-28 15:05:34 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-03-11 17:00:28 -0400 |
commit | 92668d68c1ccdbe41ace6cc3066e5d1e0113e719 (patch) | |
tree | 76957c1b33c97ed1d97e526f328c3bf6c13aa0d6 | |
parent | 6bdd9f89673e694df8a1bac6c129b21739ed8a7c (diff) | |
download | u-boot-imx-92668d68c1ccdbe41ace6cc3066e5d1e0113e719.zip u-boot-imx-92668d68c1ccdbe41ace6cc3066e5d1e0113e719.tar.gz u-boot-imx-92668d68c1ccdbe41ace6cc3066e5d1e0113e719.tar.bz2 |
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 <interface> <dev>:<part>
- print partition UUID
...
Signed-off-by: Stephen Warren <swarren@nvidia.com>
-rw-r--r-- | common/cmd_part.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_part.c b/common/cmd_part.c index d997597..b79f074 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 <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" |