Skip to contentSkip to conversation

Escape minus signs in lttng-ust-cyg-profile manpage

PATCH Mathieu Desnoyers 1 participant 1 message Nov 15, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20131115141247.GA1634@shaniqua

Mathieu Desnoyers

author Applied
#1 lore raw

----- Original Message -----

Quoted 4 lines

From: "Jon Bernard" <[email protected]>
To: [email protected]
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

Quoted 42 lines

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

---
 doc/man/lttng-ust-cyg-profile.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/man/lttng-ust-cyg-profile.3 +0 -0
index fa8cf4f..341d3ae 100644
@@ -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

doc/man/lttng-ust-cyg-profile.3 +1 -2
-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
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 3 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com