From 0deea1c0661348786a74bee95b3f025c3f39cefe Mon Sep 17 00:00:00 2001 From: Joseph Koshy Date: Fri, 24 Nov 2000 09:14:09 +0000 Subject: [PATCH] [rlogin.1] Document the `-4' and `-6' options. Correct a typo. [rlogin.c] Make the usage message match the code. --- usr.bin/rlogin/rlogin.1 | 8 ++++++-- 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 b3377442b442..9336bc4b896c 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 15fbe93652ca..13782b4fe828 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); }