]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/hush.c
Standardize command usage messages with cmd_usage()
[people/ms/u-boot.git] / common / hush.c
index 9aef6e41dbfdbec4a6b3be491db09cd3744c6068..dbb4035613d9dcf4a32522acc534835a1b989b5e 100644 (file)
@@ -1696,7 +1696,7 @@ static int run_pipe_real(struct pipe *pi)
 #endif
                                /* found - check max args */
                                if ((child->argc - i) > cmdtp->maxargs) {
-                                       printf ("Usage:\n%s\n", cmdtp->usage);
+                                       cmd_usage(cmdtp);
                                        return -1;
                                }
 #endif