Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: jbernard@tuxion.com (Jon Bernard)
Subject: [lttng-dev] [PATCH 2/2] Escape minus signs in lttng-ust-cyg-profile manpage
Date: Fri, 15 Nov 2013 09:12:47 -0500	[thread overview]
Message-ID: <20131115141247.GA1634@shaniqua> (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



             reply	other threads:[~2013-11-15 14:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-15 14:12 Jon Bernard [this message]
2013-11-15 15:35 ` Mathieu Desnoyers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131115141247.GA1634@shaniqua \
    --to=jbernard@tuxion.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox