2015-09-15 14:01:23

by Scott Mayhew

[permalink] [raw]
Subject: [nfs-utils PATCH] mountstats.man: Remove a few bogus .R macros

These have no effect on the rendering of the man page, but they do cause
the following error if you try to pipe or redirect the output:

`R' is a string (producing the registered sign), not a macro.

Signed-off-by: Scott Mayhew <[email protected]>
---
tools/mountstats/mountstats.man | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/mountstats/mountstats.man b/tools/mountstats/mountstats.man
index bfc4c46..a55130b 100644
--- a/tools/mountstats/mountstats.man
+++ b/tools/mountstats/mountstats.man
@@ -13,13 +13,13 @@ mountstats \- Displays various NFS client per-mount statistics
.RB [ \-S | \-\-since
.IR sincefile ]
.\" .RB [ \-n | \-\-nfs | \-r | \-\-rpc | \-R | \-\-raw ]
-.R [
+[
.RB [ \-n | \-\-nfs ]
-.R |
+|
.RB [ \-r | \-\-rpc ]
-.R |
+|
.RB [ \-R | \-\-raw ]
-.R ]
+]
.RI [ mountpoint ] ...
.P
.B mountstats iostat
--
1.9.3



2015-09-16 19:09:29

by Steve Dickson

[permalink] [raw]
Subject: Re: [nfs-utils PATCH] mountstats.man: Remove a few bogus .R macros



On 09/15/2015 10:01 AM, Scott Mayhew wrote:
> These have no effect on the rendering of the man page, but they do cause
> the following error if you try to pipe or redirect the output:
>
> `R' is a string (producing the registered sign), not a macro.
>
> Signed-off-by: Scott Mayhew <[email protected]>
Committed...

steved.

> ---
> tools/mountstats/mountstats.man | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/tools/mountstats/mountstats.man b/tools/mountstats/mountstats.man
> index bfc4c46..a55130b 100644
> --- a/tools/mountstats/mountstats.man
> +++ b/tools/mountstats/mountstats.man
> @@ -13,13 +13,13 @@ mountstats \- Displays various NFS client per-mount statistics
> .RB [ \-S | \-\-since
> .IR sincefile ]
> .\" .RB [ \-n | \-\-nfs | \-r | \-\-rpc | \-R | \-\-raw ]
> -.R [
> +[
> .RB [ \-n | \-\-nfs ]
> -.R |
> +|
> .RB [ \-r | \-\-rpc ]
> -.R |
> +|
> .RB [ \-R | \-\-raw ]
> -.R ]
> +]
> .RI [ mountpoint ] ...
> .P
> .B mountstats iostat
>