summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-10-30 23:42:37 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-10-30 23:42:37 +0000
commit91f8f82bfb54a5e4a574112a86eb78cbd7b275cf (patch)
tree4054fe2561414de65522165fe635c1a64b4e3108 /include
parent6b38e18247882d90de5053e76a4b3c6a3914e574 (diff)
tftpd: be less cryptic in help text
Diffstat (limited to 'include')
-rw-r--r--include/usage.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h
index 97f4f27be..9e18ff640 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -4220,6 +4220,12 @@
"[-cr] [-u USER] [DIR]"
#define tftpd_full_usage "\n\n" \
"Transfer a file on tftp client's request.\n" \
+ "\n" \
+ "tftpd should be used as an inetd service.\n" \
+ "tftpd's line for inetd.conf:\n" \
+ " 69 dgram udp nowait root tftpd tftpd /files/to/serve\n" \
+ "It also can be ran from udpsvd:\n" \
+ " udpsvd -vE 0.0.0.0 69 tftpd /files/to/serve\n" \
"\nOptions:" \
"\n -r Prohibit upload" \
"\n -c Allow file creation via upload" \