mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
Standardize command usage messages with cmd_usage()
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
This commit is contained in:
parent
84cde2bb40
commit
62c3ae7c6e
89 changed files with 213 additions and 206 deletions
|
@ -35,7 +35,7 @@ int do_setexpr(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
|||
|
||||
/* Validate arguments */
|
||||
if ((argc != 5) || (strlen(argv[3]) != 1)) {
|
||||
printf("Usage:\n%s\n", cmdtp->usage);
|
||||
cmd_usage(cmdtp);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue