From: Philippe Proulx Date: Wed, 8 Apr 2015 19:11:41 +0000 (-0400) Subject: man pages: use standard NAME format X-Git-Tag: v2.7.0-rc1~41 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=94ffb05d6777efc0c40394d3df44a04feed92953;p=lttng-tools.git man pages: use standard NAME format As per man(7): The only mandatory heading is NAME, which should be the first section and be followed on the next line by a one-line description of the program: .SH NAME item \- description It is extremely important that this format is followed, and that there is a backslash before the single dash which follows the item name. This syntax is used by the mandb(8) program to create a database of short descriptions for the whatis(1) and apropos(1) commands. Furthermore (lexgrog(1)): When using the traditional man macro set, a correct NAME section looks something like this: .SH NAME foo \- program to do something Some manual pagers require the ‘\-’ to be exactly as shown; mandb is more tolerant, but for compatibility with other systems it is nevertheless a good idea to retain the backslash. Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- diff --git a/doc/man/lttng-crash.1 b/doc/man/lttng-crash.1 index 4af93f381..80971082a 100644 --- a/doc/man/lttng-crash.1 +++ b/doc/man/lttng-crash.1 @@ -1,7 +1,7 @@ .TH "LTTNG-CRASH" "1" "March 26th, 2015" "" "" .SH "NAME" -lttng-crash \(em LTTng Crash Trace Viewer +lttng-crash \- LTTng Crash Trace Viewer .SH "SYNOPSIS" diff --git a/doc/man/lttng-relayd.8 b/doc/man/lttng-relayd.8 index 3a51877a6..fcde15ef1 100644 --- a/doc/man/lttng-relayd.8 +++ b/doc/man/lttng-relayd.8 @@ -1,7 +1,7 @@ .TH "LTTNG-RELAYD" "8" "July 15, 2012" "" "" .SH "NAME" -lttng-relayd \(em LTTng remote trace collection daemon +lttng-relayd \- LTTng remote trace collection daemon .SH "SYNOPSIS" diff --git a/doc/man/lttng-sessiond.8 b/doc/man/lttng-sessiond.8 index 8c29e61cc..d3ab323d9 100644 --- a/doc/man/lttng-sessiond.8 +++ b/doc/man/lttng-sessiond.8 @@ -1,7 +1,7 @@ .TH "LTTNG-SESSIOND" "8" "January 31, 2012" "" "" .SH "NAME" -lttng-sessiond \(em LTTng 2.x central tracing registry session daemon. +lttng-sessiond \- LTTng 2.x central tracing registry session daemon. .SH "SYNOPSIS" diff --git a/doc/man/lttng.1 b/doc/man/lttng.1 index 564f888f5..e077b097d 100644 --- a/doc/man/lttng.1 +++ b/doc/man/lttng.1 @@ -1,7 +1,7 @@ .TH "LTTNG" "1" "May 13th, 2014" "" "" .SH "NAME" -lttng \(em LTTng 2.x tracer control command line tool +lttng \- LTTng 2.x tracer control command line tool .SH "SYNOPSIS"