=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rpcinfo/rpcinfo.8,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- src/usr.bin/rpcinfo/rpcinfo.8 1999/06/05 01:21:38 1.4 +++ src/usr.bin/rpcinfo/rpcinfo.8 2000/03/10 20:17:50 1.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rpcinfo.8,v 1.4 1999/06/05 01:21:38 aaron Exp $ +.\" $OpenBSD: rpcinfo.8,v 1.5 2000/03/10 20:17:50 aaron Exp $ .\" from: @(#)rpcinfo.8c 2.2 88/08/03 4.0 RPCSRC; from 1.24 88/02/25 SMI .\" .Dd December 17, 1987 @@ -28,20 +28,22 @@ .Fl d .Ar program version .Sh DESCRIPTION -.Nm rpcinfo +.Nm makes an .Tn RPC call to an .Tn RPC server and reports what it finds. -.Sh OPTIONS +.Pp +The options are as follows: .Bl -tag -width indent .It Fl p Probe the portmapper on .Ar host , and print a list of all registered .Tn RPC -programs. If +programs. +If .Ar host is not specified, it defaults to the value returned by .Xr hostname 1 . @@ -100,17 +102,17 @@ If a .Ar version is specified, -.Nm rpcinfo +.Nm attempts to call that version of the specified .Ar program . Otherwise, -.Nm rpcinfo +.Nm attempts to find all the registered version numbers for the specified .Ar program by calling version 0 (which is presumed not to exist; if it does exist, -.Nm rpcinfo +.Nm attempts to obtain this information by calling an extremely high version number instead) and attempts to call each registered version. @@ -158,7 +160,7 @@ .Sh BUGS In releases prior to SunOS 3.0, the Network File System (NFS) did not register itself with the portmapper; -.Nm rpcinfo +.Nm cannot be used to make .Tn RPC calls to the