From: Steinar H. Gunderson Date: Sun, 4 Feb 2007 22:45:21 +0000 (+1100) Subject: Various minor manpage fixes. X-Git-Tag: nfs-utils-1-0-11~26 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=fde446dcc8f2e96c13b71a1226fcc944f53485da Various minor manpage fixes. This mostly takes care of the difference between - and \-; in man pages, the former is hyphen (which indicates, among others, that a line might be split at that point), while the latter is a dash. For options, the latter is correct. There's also one minor grammatical fix. --- diff --git a/utils/exportfs/exports.man b/utils/exportfs/exports.man index 3ab1116..892533b 100644 --- a/utils/exportfs/exports.man +++ b/utils/exportfs/exports.man @@ -126,7 +126,7 @@ default. In all subsequence releases, .I sync is the default, and .I async -must be explicit requested if needed. +must be explicitly requested if needed. To help make system administrators aware of this change, 'exportfs' will issue a warning if neither .I sync @@ -504,7 +504,7 @@ is supposedly that of user joe). /usr *.local.domain(ro) @trusted(rw) /home/joe pc001(rw,all_squash,anonuid=150,anongid=100) /pub (ro,insecure,all_squash) -/srv/www -sync,rw server @trusted @external(ro) +/srv/www \-sync,rw server @trusted @external(ro) '''/pub/private (noaccess) .fi .PP diff --git a/utils/nfsstat/nfsstat.man b/utils/nfsstat/nfsstat.man index 5fa59d0..ed7f69c 100644 --- a/utils/nfsstat/nfsstat.man +++ b/utils/nfsstat/nfsstat.man @@ -14,36 +14,36 @@ The displays statistics kept about NFS client and server activity. .SH OPTIONS .TP -.B -s, --server +.B \-s, \-\-server Print only server-side statistics. The default is to print both server and client statistics. .TP -.B -c, --client +.B \-c, \-\-client Print only client-side statistics. .TP -.B -n, --nfs +.B \-n, \-\-nfs Print only NFS statistics. The default is to print both NFS and RPC information. .TP -.B -2 +.B \-2 Print only NFS v2 statistics. The default is to only print information about the versions of \fBNFS\fR that have non-zero counts. .TP -.B -3 +.B \-3 Print only NFS v3 statistics. .TP -.B -4 +.B \-4 Print only NFS v4 statistics. .TP -.B -m, --mounted +.B \-m, \-\-mounted Print information about each of the mounted \fBNFS\fR file systems. If this option is used, all other options are ignored. .TP -.B -r, --rpc +.B \-r, \-\-rpc Print only RPC statistics. .TP -.BI -o " facility +.BI \-o " facility Display statistics for the specified facility, which must be one of: .RS .TP @@ -69,27 +69,27 @@ total number of lookups, and the number of hits and misses. Display all of the above facilities. .RE .TP -.B -v, --verbose -This is equivalent to \fB-o all\fR. +.B \-v, \-\-verbose +This is equivalent to \fB\-o all\fR. .SH EXAMPLES .TP -.B nfsstat -o all -234 +.B nfsstat \-o all \-234 Show all information about all versions of \fBNFS\fR. .TP -.B nfsstat --verbose -234 +.B nfsstat \-\-verbose \-234 Same as above. .TP -.B nfsstat -o all +.B nfsstat \-o all Show all information about active versions of \fBNFS\fR. .TP -.B nfsstat --nfs --server -3 +.B nfsstat \-\-nfs \-\-server \-3 Show statistics for \fBNFS\fR version 3 server. .TP -.B nfsstat -m +.B nfsstat \-m Show information about mounted \fBNFS\fR filesystems. .\" --------------------- DISPLAY -------------------------------- .SH DISPLAY -The \fBFlags\fR output from the \fB-m\fR option is the same as the +The \fBFlags\fR output from the \fB\-m\fR option is the same as the flags give to the \fBmount\fR command. .\" --------------------- FILES ---------------------------------- .SH FILES @@ -111,7 +111,7 @@ interface to the mounted filesystems. .BR nfs (5). .\" ---------------------- BUGS ---------------------------------- .SH BUGS -The default output has be changed. To get the old default output you must run \fBnfsstat --auto -2\fR. +The default output has been changed. To get the old default output you must run \fBnfsstat \-\-auto \-2\fR. .P The function of the \fB-v\fR and \fB-a\fR options have changed. The \fB-a\fR option is now reserved for future use. The \fB-v\fR does what the \fB-a\fR option used to do, diff --git a/utils/showmount/showmount.man b/utils/showmount/showmount.man index 30c9d82..068d5c0 100644 --- a/utils/showmount/showmount.man +++ b/utils/showmount/showmount.man @@ -21,7 +21,7 @@ lists the set of clients who are mounting from that host. The output from .B showmount is designed to -appear as though it were processed through ``sort -u''. +appear as though it were processed through ``sort \-u''. .SH OPTIONS .TP .BR \-a " or " \-\-all