From 602478779022f07c30e4e6ac7467b675da95d184 Mon Sep 17 00:00:00 2001 From: ru Date: Thu, 5 Jul 2001 14:06:27 +0000 Subject: [PATCH] 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 --- telnet/main.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/telnet/main.c b/telnet/main.c index 393f0a6..b3b1e55 100644 --- a/telnet/main.c +++ b/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;