From: Mike Frysinger Date: Thu, 29 Jul 2010 17:42:29 +0000 (-0400) Subject: mflash: use common cmd_usage function X-Git-Tag: v2010.09-rc1~48 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a7481b353bb65eacd7b726b7661cf41ddb31306e;p=kernel%2Fu-boot.git mflash: use common cmd_usage function Signed-off-by: Mike Frysinger --- diff --git a/common/cmd_mgdisk.c b/common/cmd_mgdisk.c index c2d5217..51c994b 100644 --- a/common/cmd_mgdisk.c +++ b/common/cmd_mgdisk.c @@ -54,8 +54,7 @@ int do_mg_disk_cmd (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) return 1; break; default: - printf("Usage:\n%s\n", cmdtp->usage); - return 1; + return cmd_usage(cmdtp); } return 0; }