telnetd: give inetd.conf example in --help

function                                             old     new   delta
packed_usage                                       33537   33522     -15

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2021-06-16 10:49:18 +02:00
parent a885ce1af0
commit 1abaa6b84c
3 changed files with 4 additions and 4 deletions

View File

@ -63,7 +63,7 @@
//usage: "FTP server. " //usage: "FTP server. "
//usage: ) //usage: )
//usage: "Chroots to DIR, if this fails (run by non-root), cds to it.\n" //usage: "Chroots to DIR, if this fails (run by non-root), cds to it.\n"
//usage: "Should be used as inetd service, inetd.conf line:\n" //usage: "It is an inetd service, inetd.conf line:\n"
//usage: " 21 stream tcp nowait root ftpd ftpd /files/to/serve\n" //usage: " 21 stream tcp nowait root ftpd ftpd /files/to/serve\n"
//usage: "Can be run from tcpsvd:\n" //usage: "Can be run from tcpsvd:\n"
//usage: " tcpsvd -vE 0.0.0.0 21 ftpd /files/to/serve" //usage: " tcpsvd -vE 0.0.0.0 21 ftpd /files/to/serve"

View File

@ -109,6 +109,7 @@
//usage: "\n -i Inetd mode" //usage: "\n -i Inetd mode"
//usage: IF_FEATURE_TELNETD_INETD_WAIT( //usage: IF_FEATURE_TELNETD_INETD_WAIT(
//usage: "\n -w SEC Inetd 'wait' mode, linger time SEC" //usage: "\n -w SEC Inetd 'wait' mode, linger time SEC"
//usage: "\n inetd.conf line: 23 stream tcp wait root telnetd telnetd -w10"
//usage: "\n -S Log to syslog (implied by -i or without -F and -w)" //usage: "\n -S Log to syslog (implied by -i or without -F and -w)"
//usage: ) //usage: )
//usage: ) //usage: )

View File

@ -113,10 +113,9 @@
//usage:#define tftpd_full_usage "\n\n" //usage:#define tftpd_full_usage "\n\n"
//usage: "Transfer a file on tftp client's request\n" //usage: "Transfer a file on tftp client's request\n"
//usage: "\n" //usage: "\n"
//usage: "tftpd should be used as an inetd service.\n" //usage: "tftpd is an inetd service, inetd.conf line:\n"
//usage: "tftpd's line for inetd.conf:\n"
//usage: " 69 dgram udp nowait root tftpd tftpd -l /files/to/serve\n" //usage: " 69 dgram udp nowait root tftpd tftpd -l /files/to/serve\n"
//usage: "It also can be ran from udpsvd:\n" //usage: "Can be run from udpsvd:\n"
//usage: " udpsvd -vE 0.0.0.0 69 tftpd /files/to/serve\n" //usage: " udpsvd -vE 0.0.0.0 69 tftpd /files/to/serve\n"
//usage: "\n -r Prohibit upload" //usage: "\n -r Prohibit upload"
//usage: "\n -c Allow file creation via upload" //usage: "\n -c Allow file creation via upload"