diff options
| author | Joseph Koshy <jkoshy@FreeBSD.org> | 2000-11-24 09:25:44 +0000 |
|---|---|---|
| committer | Joseph Koshy <jkoshy@FreeBSD.org> | 2000-11-24 09:25:44 +0000 |
| commit | b67f439c91f6c144fe94a4ac75b75fa526c9b1be (patch) | |
| tree | 35d550971e39b3849b443ba6f74c5a8b2efff39f | |
| parent | 0deea1c0661348786a74bee95b3f025c3f39cefe (diff) | |
Notes
| -rw-r--r-- | usr.bin/rsh/rsh.1 | 6 | ||||
| -rw-r--r-- | usr.bin/rsh/rsh.c | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/rsh/rsh.1 b/usr.bin/rsh/rsh.1 index a66e73bfc4da..59830ffbd468 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] "); |
