9
0
Fork 0

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>
This commit is contained in:
Pavel Machek 2014-07-21 23:37:37 +02:00 committed by Sascha Hauer
parent d985d22763
commit 54533366d1
1 changed files with 2 additions and 1 deletions

View File

@ -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")