]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/cmd_load.c
Standardize command usage messages with cmd_usage()
[people/ms/u-boot.git] / common / cmd_load.c
index 65a4d692a9fa6dc1a07ac4194cd78bd0c46e9481..350d7a3524aa93cfe56b868b83b569ad3fb8d9bc 100644 (file)
@@ -1119,7 +1119,7 @@ int do_hwflow (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
                        if (strcmp(argv[1], "on") == 0)
                                hwflow_onoff(1);
                        else
-                               printf("Usage: %s\n", cmdtp->usage);
+                               cmd_usage(cmdtp);
        }
        printf("RTS/CTS hardware flow control: %s\n", hwflow_onoff(0) ? "on" : "off");
        return 0;