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;