From 54533366d154b1273620decbf8cdb5e39b95e8f8 Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Mon, 21 Jul 2014 23:37:37 +0200 Subject: 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 Signed-off-by: Sascha Hauer --- commands/tftp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'commands/tftp.c') diff --git a/commands/tftp.c b/commands/tftp.c index c066631ad4..62b9424cf3 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") -- cgit v1.2.3