summaryrefslogtreecommitdiffstats
path: root/crypto/telnet
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-07-05 14:06:27 +0000
committerru <ru@FreeBSD.org>2001-07-05 14:06:27 +0000
commit30aad2eb2c08f8318e41b7b27ef2b1368e0dbf69 (patch)
tree2b0f1cf658d4599c070b48bd6ad824fa3777e572 /crypto/telnet
parent554102f1dd1b7cfec2831664920b17c5bc3ed4fe (diff)
downloadFreeBSD-src-30aad2eb2c08f8318e41b7b27ef2b1368e0dbf69.zip
FreeBSD-src-30aad2eb2c08f8318e41b7b27ef2b1368e0dbf69.tar.gz
MF non-crypto: 1.13: document -u in usage.
Diffstat (limited to 'crypto/telnet')
-rw-r--r--crypto/telnet/telnet/main.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/crypto/telnet/telnet/main.c b/crypto/telnet/telnet/main.c
index 393f0a6..b3b1e55 100644
--- a/crypto/telnet/telnet/main.c
+++ b/crypto/telnet/telnet/main.c
@@ -108,8 +108,8 @@ usage()
"[-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] ",
#else
- "[-4] [-6] [-8] [-E] [-L] [-N] [-S tos] [-c] [-d] [-e char] [-l user]",
- "\n\t[-n tracefile] ",
+ "[-4] [-6] [-8] [-E] [-L] [-N] [-S tos] [-c] [-d]",
+ "\n\t[-e char] [-l user] [-n tracefile] ",
#endif
#if defined(TN3270) && defined(unix)
# ifdef AUTHENTICATION
@@ -117,13 +117,13 @@ usage()
"[-noasyncnet] [-r] [-s src_addr] [-t transcom] ",
# else
"[-noasynch] [-noasynctty] [-noasyncnet] [-r]\n\t"
- "[-s src_addr] [-t transcom]",
+ "[-s src_addr] [-t transcom] ",
# endif
#else
- "[-r] [-s src_addr] ",
+ "[-r] [-s src_addr] [-u] ",
#endif
#if defined(IPSEC) && defined(IPSEC_POLICY_IPSEC)
- "[-P policy]"
+ "[-P policy] "
#endif
#ifdef ENCRYPTION
"[-y] [host-name [port]]"
@@ -184,9 +184,6 @@ main(argc, argv)
#undef IPSECOPT
{
switch(ch) {
- case 'u':
- family = AF_UNIX;
- break;
case '4':
family = AF_INET;
break;
@@ -325,6 +322,9 @@ main(argc, argv)
prompt);
#endif
break;
+ case 'u':
+ family = AF_UNIX;
+ break;
case 'x':
/* This is the default now, so ignore it */
break;
OpenPOWER on IntegriCloud