]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/cmd_bootm.c
Standardize command usage messages with cmd_usage()
[people/ms/u-boot.git] / common / cmd_bootm.c
index 905567293cd2299054b843bbe57aa8c971a806f5..68f167594ccca38e37bf7fe5341f1c83d802924c 100644 (file)
@@ -454,13 +454,13 @@ int do_bootm_subcommand (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
        }
        /* Unrecognized command */
        else {
-               printf ("Usage:\n%s\n", cmdtp->usage);
+               cmd_usage(cmdtp);
                return 1;
        }
 
        if (images.state >= state) {
                printf ("Trying to execute a command out of order\n");
-               printf ("Usage:\n%s\n", cmdtp->usage);
+               cmd_usage(cmdtp);
                return 1;
        }