summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-03-04 09:01:45 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-03-04 09:01:45 +0000
commitf8a8832cdb7c751002bb1afe778daed3d33806a3 (patch)
treebbff3e2b3a438c7ef3b2033e2898126bd85843f8
parentc9b2ccac08f07d388e2e94eab918b06e83689459 (diff)
downloadsrc-test2-f8a8832cdb7c751002bb1afe778daed3d33806a3.tar.gz
src-test2-f8a8832cdb7c751002bb1afe778daed3d33806a3.zip
Notes
-rw-r--r--usr.bin/rsh/rsh.16
-rw-r--r--usr.bin/rsh/rsh.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/rsh/rsh.1 b/usr.bin/rsh/rsh.1
index e93d7600d06f..12f91d949da2 100644
--- a/usr.bin/rsh/rsh.1
+++ b/usr.bin/rsh/rsh.1
@@ -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
diff --git a/usr.bin/rsh/rsh.c b/usr.bin/rsh/rsh.c
index d57b5fcdbc18..935515a56b89 100644
--- a/usr.bin/rsh/rsh.c
+++ b/usr.bin/rsh/rsh.c
@@ -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] ");