Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] [PATCH 2/2] Escape minus signs in lttng-ust-cyg-profile manpage
@ 2013-11-15 14:12 Jon Bernard
  2013-11-15 15:35 ` Mathieu Desnoyers
  0 siblings, 1 reply; 2+ messages in thread
From: Jon Bernard @ 2013-11-15 14:12 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [lttng-dev] [PATCH 2/2] Escape minus signs in lttng-ust-cyg-profile manpage
  2013-11-15 14:12 [lttng-dev] [PATCH 2/2] Escape minus signs in lttng-ust-cyg-profile manpage Jon Bernard
@ 2013-11-15 15:35 ` Mathieu Desnoyers
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Desnoyers @ 2013-11-15 15:35 UTC (permalink / raw)


----- Original Message -----
> From: "Jon Bernard" <jbernard@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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-15 15:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-15 14:12 [lttng-dev] [PATCH 2/2] Escape minus signs in lttng-ust-cyg-profile manpage Jon Bernard
2013-11-15 15:35 ` Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox