]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/cmd_misc.c
Standardize command usage messages with cmd_usage()
[people/ms/u-boot.git] / common / cmd_misc.c
index 3ea8ee07f760e01a2c622bff5b6c8d79a0ab4bf1..c29f52baecfb52bbc0cbf7ab2177fa22d944cd74 100644 (file)
@@ -33,7 +33,7 @@ int do_sleep (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
        ulong delay;
 
        if (argc != 2) {
-               printf ("Usage:\n%s\n", cmdtp->usage);
+               cmd_usage(cmdtp);
                return 1;
        }