cmd: nfsdown: update usage description
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 2 Aug 2017 09:34:08 +0000 (18:34 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 10 Oct 2019 04:38:39 +0000 (13:38 +0900)
The nfsdown has optional argument part for server ip address  and
precondition to use nfs command but it is not described from command
usage. Update nfsdown usage description with required steps and
optional argument part.

Change-Id: I16e941ef386e1301f4e1581956e1b0b06dc33246
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
cmd/nfsdown.c

index ae77f998808a8ff3937967c77559953bea12e81f..949103d545a7281ea930572f9f879d50ddcb09c1 100644 (file)
@@ -438,9 +438,11 @@ error_end:
 
 U_BOOT_CMD(nfsdown, CONFIG_SYS_MAXARGS, 1, do_nfs_down,
           "TIZEN \"nfs\" downloader",
-          "<IP_ADDR>:<IMG_PATH>\n"
+          "[<IP_ADDR>:]<IMG_PATH>\n"
           "  - device firmware upgrade via nfs for Tizen\n"
           "    fusing images from <IP_ADDR>:<IMG_PATH> to MMC.\n"
+          "  - required to set env for ipaddr, serverip, gatewayip,\n"
+          "    and netmask.\n"
           "\n"
           "(e.g) nfsdown 192.168.0.1:/nfs\n"
 );