]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cpu/mpc8260/bedbug_603e.c
Standardize command usage messages with cmd_usage()
[people/ms/u-boot.git] / cpu / mpc8260 / bedbug_603e.c
index f1be485e8eb90a9d0162a5be97c705b2ba2982c3..c969ff65e6fc3cece16ed8747cea094905c8dd62 100644 (file)
@@ -72,7 +72,7 @@ void bedbug603e_do_break (cmd_tbl_t *cmdtp, int flag, int argc,
 
   if (argc < 2)
   {
-    printf ("Usage:\n%s\n", cmdtp->usage);
+    cmd_usage(cmdtp);
     return;
   }
 
@@ -119,7 +119,7 @@ void bedbug603e_do_break (cmd_tbl_t *cmdtp, int flag, int argc,
        (( argv[ 1 ][ 0 ] >= 'a' ) && ( argv[ 1 ][ 0 ] <= 'f' )) ||
        (( argv[ 1 ][ 0 ] >= 'A' ) && ( argv[ 1 ][ 0 ] <= 'F' ))))
   {
-    printf ("Usage:\n%s\n", cmdtp->usage);
+    cmd_usage(cmdtp);
     return;
   }