]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/cmd_otp.c
Standardize command usage messages with cmd_usage()
[people/ms/u-boot.git] / common / cmd_otp.c
index 825fa34cebbf573ee99e4b67fcae46d82b00d5e8..bdf2e6a8be6b8351a951feda71cb55cb10aca79d 100644 (file)
@@ -57,7 +57,7 @@ int do_otp(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
                otp_func = otp_write;
        else {
  usage:
-               printf("Usage:\n%s\n", cmdtp->usage);
+               cmd_usage(cmdtp);
                return 1;
        }