From a7481b353bb65eacd7b726b7661cf41ddb31306e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 29 Jul 2010 13:42:29 -0400 Subject: mflash: use common cmd_usage function Signed-off-by: Mike Frysinger --- common/cmd_mgdisk.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'common/cmd_mgdisk.c') diff --git a/common/cmd_mgdisk.c b/common/cmd_mgdisk.c index c2d5217703b..51c994b6f91 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; } -- cgit v1.2.3