diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2001-07-05 13:21:20 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2001-07-05 13:21:20 +0000 |
| commit | 29baea03705128faad221ab9a368faece83af8a5 (patch) | |
| tree | 0942936bf9da6b1feb2d092339de711bc0ba1a14 | |
| parent | b09b4efb4bbf4496f216934aaf26dfe0989f81ac (diff) | |
Notes
| -rw-r--r-- | usr.bin/telnet/main.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/usr.bin/telnet/main.c b/usr.bin/telnet/main.c index 4b4a13a1b410..91da94dce6ac 100644 --- a/usr.bin/telnet/main.c +++ b/usr.bin/telnet/main.c @@ -96,8 +96,8 @@ usage() "[-4] [-6] [-8] [-E] [-K] [-L] [-N] [-S tos] [-X atype] [-a] [-c] [-d]", "\n\t[-e char] [-k realm] [-l user] [-f/-F] [-n tracefile] ", #else - "[-4] [-6] [-8] [-E] [-L] [-N] [-S tos] [-a] [-c] [-d] [-e char] [-l user]", - "\n\t[-n tracefile] ", + "[-4] [-6] [-8] [-E] [-L] [-N] [-S tos] [-a] [-c] [-d]", + "\n\t[-e char] [-l user] [-n tracefile] ", #endif #if defined(TN3270) && defined(unix) # ifdef AUTHENTICATION @@ -105,15 +105,15 @@ 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 - "[host-name [port]]" + "\n\t[host-name [port]]" ); exit(1); } @@ -162,9 +162,6 @@ main(argc, argv) { switch(ch) { - case 'u': - family = AF_UNIX; - break; case '4': family = AF_INET; break; @@ -304,6 +301,9 @@ main(argc, argv) prompt); #endif break; + case 'u': + family = AF_UNIX; + break; case 'x': fprintf(stderr, "%s: Warning: -x ignored, no ENCRYPT support.\n", |
