mflash: use common cmd_usage function

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger 2010-07-29 13:42:29 -04:00 committed by Wolfgang Denk
parent 64419e4751
commit a7481b353b

View File

@ -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;
}