]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cpu/ppc4xx/bedbug_405.c
Standardize command usage messages with cmd_usage()
[people/ms/u-boot.git] / cpu / ppc4xx / bedbug_405.c
index 5ef5607918d6a45e87b2a40098bd5b81ed973166..ef11cb65e41a072fb8fb53c5f2c0c3eac2bb41a9 100644 (file)
@@ -71,7 +71,7 @@ void bedbug405_do_break (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
        /* -------------------------------------------------- */
 
        if (argc < 2) {
-               printf ("Usage:\n%s\n", cmdtp->usage);
+               cmd_usage(cmdtp);
                return;
        }
 
@@ -125,7 +125,7 @@ void bedbug405_do_break (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
        /* Set a breakpoint at the address */
 
        if (!isdigit (argv[1][0])) {
-               printf ("Usage:\n%s\n", cmdtp->usage);
+               cmd_usage(cmdtp);
                return;
        }