[lttng-dev] [PATCH 2/2] Escape minus signs in lttng-ust-cyg-profile manpage

Jon Bernard jbernard at tuxion.com
Fri Nov 15 09:12:47 EST 2013


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



More information about the lttng-dev mailing list