mirror of
https://github.com/sheumann/telnetd.git
synced 2025-02-16 13:30:34 +00:00
MF non-crypto: 1.13: document -u in usage.
git-svn-id: http://svn0.us-east.freebsd.org/base/head/contrib/telnet@79323 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
This commit is contained in:
parent
508568b464
commit
6024787790
@ -108,8 +108,8 @@ usage()
|
|||||||
"[-4] [-6] [-8] [-E] [-K] [-L] [-N] [-S tos] [-X atype] [-c] [-d]",
|
"[-4] [-6] [-8] [-E] [-K] [-L] [-N] [-S tos] [-X atype] [-c] [-d]",
|
||||||
"\n\t[-e char] [-k realm] [-l user] [-f/-F] [-n tracefile] ",
|
"\n\t[-e char] [-k realm] [-l user] [-f/-F] [-n tracefile] ",
|
||||||
#else
|
#else
|
||||||
"[-4] [-6] [-8] [-E] [-L] [-N] [-S tos] [-c] [-d] [-e char] [-l user]",
|
"[-4] [-6] [-8] [-E] [-L] [-N] [-S tos] [-c] [-d]",
|
||||||
"\n\t[-n tracefile] ",
|
"\n\t[-e char] [-l user] [-n tracefile] ",
|
||||||
#endif
|
#endif
|
||||||
#if defined(TN3270) && defined(unix)
|
#if defined(TN3270) && defined(unix)
|
||||||
# ifdef AUTHENTICATION
|
# ifdef AUTHENTICATION
|
||||||
@ -117,13 +117,13 @@ usage()
|
|||||||
"[-noasyncnet] [-r] [-s src_addr] [-t transcom] ",
|
"[-noasyncnet] [-r] [-s src_addr] [-t transcom] ",
|
||||||
# else
|
# else
|
||||||
"[-noasynch] [-noasynctty] [-noasyncnet] [-r]\n\t"
|
"[-noasynch] [-noasynctty] [-noasyncnet] [-r]\n\t"
|
||||||
"[-s src_addr] [-t transcom]",
|
"[-s src_addr] [-t transcom] ",
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
"[-r] [-s src_addr] ",
|
"[-r] [-s src_addr] [-u] ",
|
||||||
#endif
|
#endif
|
||||||
#if defined(IPSEC) && defined(IPSEC_POLICY_IPSEC)
|
#if defined(IPSEC) && defined(IPSEC_POLICY_IPSEC)
|
||||||
"[-P policy]"
|
"[-P policy] "
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENCRYPTION
|
#ifdef ENCRYPTION
|
||||||
"[-y] [host-name [port]]"
|
"[-y] [host-name [port]]"
|
||||||
@ -184,9 +184,6 @@ main(argc, argv)
|
|||||||
#undef IPSECOPT
|
#undef IPSECOPT
|
||||||
{
|
{
|
||||||
switch(ch) {
|
switch(ch) {
|
||||||
case 'u':
|
|
||||||
family = AF_UNIX;
|
|
||||||
break;
|
|
||||||
case '4':
|
case '4':
|
||||||
family = AF_INET;
|
family = AF_INET;
|
||||||
break;
|
break;
|
||||||
@ -325,6 +322,9 @@ main(argc, argv)
|
|||||||
prompt);
|
prompt);
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
case 'u':
|
||||||
|
family = AF_UNIX;
|
||||||
|
break;
|
||||||
case 'x':
|
case 'x':
|
||||||
/* This is the default now, so ignore it */
|
/* This is the default now, so ignore it */
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user