Module Name:    src
Committed By:   christos
Date:           Tue May 31 10:24:44 UTC 2011

Modified Files:
        src/bin/rcmd: rcmd.1

Log Message:
PR/45008: Martin Neitzel: document all rcmd(1) options. -46p were missing,
and -d was not in the synopsis.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/bin/rcmd/rcmd.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/bin/rcmd/rcmd.1
diff -u src/bin/rcmd/rcmd.1:1.19 src/bin/rcmd/rcmd.1:1.20
--- src/bin/rcmd/rcmd.1:1.19	Thu May 29 22:29:37 2008
+++ src/bin/rcmd/rcmd.1	Tue May 31 06:24:43 2011
@@ -1,4 +1,4 @@
-.\"	$NetBSD: rcmd.1,v 1.19 2008/05/30 02:29:37 mrg Exp $
+.\"	$NetBSD: rcmd.1,v 1.20 2011/05/31 10:24:43 christos Exp $
 .\"
 .\" Copyright (c) 1997 Matthew R. Green.
 .\" All rights reserved.
@@ -63,6 +63,8 @@
 .Xr rcmd 3
 .Sh SYNOPSIS
 .Nm
+.Op Fl 46dn
+.Op Fl p Ar port
 .Op Fl l Ar username
 .Op Fl u Ar localusername
 .Ar host
@@ -84,6 +86,10 @@
 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 d
 The
 .Fl d
@@ -97,6 +103,9 @@
 The
 .Fl l
 option allows the remote name to be specified.
+Another possible way to specify the remote username
+is the notation
+.Ar user@host .
 .It Fl u
 The
 .Fl u
@@ -110,6 +119,12 @@
 (see the
 .Sx BUGS
 section of this manual page).
+.It Fl p Ar port
+Uses the given
+.Pa port
+instead of the one assigned to the service
+.Dq shell .
+May be given either as symbolic name or as number.
 .El
 .Pp
 Shell metacharacters which are not quoted are interpreted on local machine,

Reply via email to