tftpd: be less cryptic in help text
authorDenis Vlasenko <vda.linux@googlemail.com>
Thu, 30 Oct 2008 23:42:37 +0000 (23:42 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Thu, 30 Oct 2008 23:42:37 +0000 (23:42 -0000)
include/usage.h

index 97f4f27be6ca6d44aa2c99bffafe8ee8f7ae6a6c..9e18ff6408173476043009ccccde0999ce6b2c06 100644 (file)
        "[-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" \