[rsh.1] Document the -4' and -6' options.

[rsh.c] Make usage message match the code.
This commit is contained in:
jkoshy 2000-11-24 09:25:44 +00:00
parent 36429cc482
commit b9a3db59e5
2 changed files with 6 additions and 2 deletions

View File

@ -40,7 +40,7 @@
.Nd remote shell
.Sh SYNOPSIS
.Nm
.Op Fl Kdnx
.Op Fl 46Kdnx
.Op Fl t Ar timeout
.Op Fl k Ar realm
.Op Fl l Ar username
@ -63,6 +63,10 @@ command;
normally terminates when the remote command does.
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 K
Turn off all Kerberos authentication.
.It Fl d

View File

@ -491,7 +491,7 @@ usage()
{
(void)fprintf(stderr,
"usage: rsh [-46] [-nd%s]%s[-l login] [-t timeout] host [command]\n",
"usage: rsh [-46] [-ndK%s]%s[-l login] [-t timeout] host [command]\n",
#ifdef KERBEROS
#ifdef CRYPT
"x", " [-k realm] ");