]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/cmd_df.c
readline(): Add ability to modify a string buffer
[people/ms/u-boot.git] / common / cmd_df.c
index 5f650442c018edb81aacc6c22ddbe0f49682087f..7f957fed472b152cb779d62934407d22e0f8c936 100644 (file)
@@ -27,11 +27,11 @@ static int do_df(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
        }
 
 usage:
-       printf("Usage:\n%s\n", cmdtp->usage);
+       cmd_usage(cmdtp);
        return 1;
 }
 
 U_BOOT_CMD(
        sf,     2,      1,      do_serial_flash,
-       "sf     - Serial flash sub-system\n",
-       "probe [bus:]cs         - init flash device on given SPI bus and CS\n")
+       "Serial flash sub-system",
+       "probe [bus:]cs         - init flash device on given SPI bus and CS")