diff options
author | jkoshy <jkoshy@FreeBSD.org> | 2000-11-24 09:14:09 +0000 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 2000-11-24 09:14:09 +0000 |
commit | 36429cc482f3c812090ee50910c9840d9e83c5df (patch) | |
tree | a1e3a96c9f849decbe2c4555bab93f5278d28b78 /usr.bin | |
parent | ebe3dfc2d8959ea60e19921db79af678856a063d (diff) | |
download | FreeBSD-src-36429cc482f3c812090ee50910c9840d9e83c5df.zip FreeBSD-src-36429cc482f3c812090ee50910c9840d9e83c5df.tar.gz |
[rlogin.1] Document the `-4' and `-6' options. Correct a typo.
[rlogin.c] Make the usage message match the code.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/rlogin/rlogin.1 | 8 | ||||
-rw-r--r-- | usr.bin/rlogin/rlogin.c | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/usr.bin/rlogin/rlogin.1 b/usr.bin/rlogin/rlogin.1 index b337744..9336bc4 100644 --- a/usr.bin/rlogin/rlogin.1 +++ b/usr.bin/rlogin/rlogin.1 @@ -40,7 +40,7 @@ .Nd remote login .Sh SYNOPSIS .Ar rlogin -.Op Fl 8DEKLdx +.Op Fl 468DEKLdx .Op Fl e Ar char .Op Fl i Ar localname .Op Fl k Ar realm @@ -58,13 +58,17 @@ If the remote host does not supporting Kerberos the standard Berkeley authorization mechanism is used. The options are as follows: .Bl -tag -width flag +.It Fl 4 +Use IPv4 addresses only. +.It Fl 6 +Use IPv6 addresses only. .It Fl 8 The .Fl 8 option allows an eight-bit input data path at all times; otherwise parity bits are stripped except when the remote side's stop and start characters are other than -^S/^Q . +^S/^Q. .It Fl D The .Fl D diff --git a/usr.bin/rlogin/rlogin.c b/usr.bin/rlogin/rlogin.c index 15fbe93..13782b4 100644 --- a/usr.bin/rlogin/rlogin.c +++ b/usr.bin/rlogin/rlogin.c @@ -891,7 +891,7 @@ usage() "8DEKLd", " [-k realm] "); #endif #else - "8DELd", " "); + "8DEKLd", " "); #endif exit(1); } |