mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
mflash: use common cmd_usage function
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
64419e4751
commit
a7481b353b
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue