]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/cmd_setexpr.c
Standardize command usage messages with cmd_usage()
[people/ms/u-boot.git] / common / cmd_setexpr.c
index 2e49b6dd9281c9229f4c7357aa78dd49db646a2b..4125b183db1c40c1a4b619e187d362784c59bde7 100644 (file)
@@ -35,7 +35,7 @@ int do_setexpr(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 
        /* Validate arguments */
        if ((argc != 5) || (strlen(argv[3]) != 1)) {
-               printf("Usage:\n%s\n", cmdtp->usage);
+               cmd_usage(cmdtp);
                return 1;
        }