summaryrefslogtreecommitdiffstats
path: root/commands/tftp.c
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2014-07-21 23:37:37 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-07-22 07:43:23 +0200
commit54533366d154b1273620decbf8cdb5e39b95e8f8 (patch)
tree0c2fbe68c66a5f21da2216c5289ae5c4129accca /commands/tftp.c
parentd985d2276345b6627b8887d0f81cd932beed62cb (diff)
downloadbarebox-54533366d154b1273620decbf8cdb5e39b95e8f8.tar.gz
tftp: more helpful help text
It took me a while to figure out syntax of tftp command, document that server address is taken from environment. Signed-off-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/tftp.c')
-rw-r--r--commands/tftp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/tftp.c b/commands/tftp.c
index c066631..62b9424 100644
--- a/commands/tftp.c
+++ b/commands/tftp.c
@@ -92,7 +92,8 @@ err_free:
}
BAREBOX_CMD_HELP_START(tftp)
-BAREBOX_CMD_HELP_TEXT("Load (or save) a file via TFTP.")
+BAREBOX_CMD_HELP_TEXT("Load (or save) a file via TFTP. SOURCE is a path on server,")
+BAREBOX_CMD_HELP_TEXT("server address is taken from the environment (ethX.serverip).")
BAREBOX_CMD_HELP_TEXT("")
BAREBOX_CMD_HELP_TEXT("Options:")
BAREBOX_CMD_HELP_OPT ("-p", "push to TFTP server")