]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/cmd_mtdparts.c
Convert cmd_usage() calls in common to use a return value
[people/ms/u-boot.git] / common / cmd_mtdparts.c
index b7c833b14992d365050b724060fb81c55f743e00..22688293ae18c822f035398482d4005c85ca259f 100644 (file)
@@ -2035,7 +2035,7 @@ int do_mtdparts(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
                return spread_partitions();
 #endif /* CONFIG_CMD_MTDPARTS_SPREAD */
 
-       return cmd_usage(cmdtp);
+       return CMD_RET_USAGE;
 }
 
 /***************************************************/