[lttng-dev] [PATCH 2/2] Escape minus signs in lttng-ust-cyg-profile manpage
Mathieu Desnoyers
mathieu.desnoyers at efficios.com
Fri Nov 15 10:35:20 EST 2013
----- Original Message -----
> From: "Jon Bernard" <jbernard at tuxion.com>
> To: lttng-dev at lists.lttng.org
> Sent: Friday, November 15, 2013 9:12:47 AM
> Subject: [lttng-dev] [PATCH 2/2] Escape minus signs in lttng-ust-cyg-profile manpage
merged into master, 2.3, 2.2, thanks!
Mathieu
>
> By default, "-" chars are interpreted as hyphens (U+2010) by groff, not
> as minus signs (U+002D). Since options to programs use minus signs
> (U+002D), this means for example in UTF-8 locales that you cannot cut
> and paste options, nor search for them easily.
>
> Source: http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html
>
> Signed-off-by: Jon Bernard <jbernard at tuxion.com>
> ---
> doc/man/lttng-ust-cyg-profile.3 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/doc/man/lttng-ust-cyg-profile.3
> b/doc/man/lttng-ust-cyg-profile.3
> index fa8cf4f..341d3ae 100644
> --- a/doc/man/lttng-ust-cyg-profile.3
> +++ b/doc/man/lttng-ust-cyg-profile.3
> @@ -43,7 +43,7 @@ call site address are recorded as
> lttng_ust_cyg_profile:func_entry and
> lttng_ust_cyg_profile:func_exit.
> .SH "USAGE"
> To use function tracing you need to make sure the sources of your
> application
> -are compiled with -finstrument-functions. It might be necessary to limit
> +are compiled with \-finstrument\-functions. It might be necessary to limit
> the number of source files where this option is used to prevent excessive
> amount of trace data to be generated during run time. Usually there are
> additional compiler flags that allow you to specify more fine grained
> selection
> --
> 1.8.4.rc3
>
>
> --
> Jon
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
More information about the lttng-dev
mailing list