Re: doc: escape minus sign in manpages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan Engelhardt wrote:
> parent fbb9d345e207d1441922d22e0be86f428c815ae7
> commit 39428b78ecfdbefb941f3eabc63f7e2d8c460e08
> Author: Jan Engelhardt <jengelh@xxxxxxxxxx>
> Date:   Fri Jan 9 03:09:47 2009 +0100
> 
> doc: escape minus sign in manpages
> 
> groff formats '-' as a hyphen, and '\-' is needed for a minus.
> 
> Signed-off-by: Jan Engelhardt <jengelh@xxxxxxxxxx>
> ---
[...]
> --- a/extensions/libip6t_HL.man
> +++ b/extensions/libip6t_HL.man
> @@ -7,11 +7,11 @@ table.
>  .PP
>  .B Don't ever set or increment the value on packets that leave your local network!
>  .TP
> -.BI "--hl-set " "value"
> +\fB\-\-hl\-set\fP \fIvalue\fP

I like this change.

> --- a/extensions/libip6t_LOG.man
> +++ b/extensions/libip6t_LOG.man
> @@ -1,31 +1,31 @@
>  Turn on kernel logging of matching packets.  When this option is set
>  for a rule, the Linux kernel will print some information on all
> -matching packets (like most IPv6 IPv6-header fields) via the kernel log
> +matching packets (like most IPv6 IPv6\-header fields) via the kernel log
                                        ^^
But hyphen is fine here.

Could you rework you script to actually change only options to minus?
This would result in a smaller patch.

-- 
"Los honestos son inadaptados sociales" -- Les Luthiers
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux