linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] man[13]/*: ffix: change '--' to '\-\-' (options) or '\(em' (em-dash)
@ 2020-07-05 16:37 Bjarni Ingi Gislason
  2020-07-06 11:42 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 2+ messages in thread
From: Bjarni Ingi Gislason @ 2020-07-05 16:37 UTC (permalink / raw)
  To: mtk.manpages; +Cc: linux-man

  Change '--' to '\-\-' for options and '--' between words to '\(em'
(em-dash).

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
 man1/memusagestat.1 | 2 +-
 man3/dlsym.3        | 2 +-
 man3/posix_spawn.3  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/man1/memusagestat.1 b/man1/memusagestat.1
index a1c40cd86..809f4ba3e 100644
--- a/man1/memusagestat.1
+++ b/man1/memusagestat.1
@@ -33,7 +33,7 @@ memory profiling data in the file
 that file is generated via the
 .I \-d
 (or
-.IR --data )
+.IR \-\-data )
 option of
 .BR memusage (1).
 .PP
diff --git a/man3/dlsym.3 b/man3/dlsym.3
index 2abb0b1d0..58519b5d8 100644
--- a/man3/dlsym.3
+++ b/man3/dlsym.3
@@ -145,7 +145,7 @@ function is a GNU extension.
 There are several scenarios when the address of a global symbol is NULL.
 For example, a symbol can be placed at zero address by the linker, via
 a linker script or with
-.I --defsym
+.I \-\-defsym
 command-line option. Undefined weak symbols also have NULL value.
 Finally, the symbol value may be the result of
 a GNU indirect function (IFUNC) resolver function that returns
diff --git a/man3/posix_spawn.3 b/man3/posix_spawn.3
index f425a39e3..cb7faabcc 100644
--- a/man3/posix_spawn.3
+++ b/man3/posix_spawn.3
@@ -429,7 +429,7 @@ If
 .I file_actions
 is NULL, then no special action is taken, and standard
 .BR exec (3)
-semantics apply--file descriptors open before the exec
+semantics apply\(emfile descriptors open before the exec
 remain open in the new process,
 except those for which the
 .B FD_CLOEXEC
-- 
2.27.0

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

* Re: [PATCH] man[13]/*: ffix: change '--' to '\-\-' (options) or '\(em' (em-dash)
  2020-07-05 16:37 [PATCH] man[13]/*: ffix: change '--' to '\-\-' (options) or '\(em' (em-dash) Bjarni Ingi Gislason
@ 2020-07-06 11:42 ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2020-07-06 11:42 UTC (permalink / raw)
  To: Bjarni Ingi Gislason; +Cc: mtk.manpages, linux-man

On 7/5/20 6:37 PM, Bjarni Ingi Gislason wrote:
>   Change '--' to '\-\-' for options and '--' between words to '\(em'
> (em-dash).


Thanks, Bjarni. Patch applied.

Cheers,

Michael

> Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
> ---
>  man1/memusagestat.1 | 2 +-
>  man3/dlsym.3        | 2 +-
>  man3/posix_spawn.3  | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/man1/memusagestat.1 b/man1/memusagestat.1
> index a1c40cd86..809f4ba3e 100644
> --- a/man1/memusagestat.1
> +++ b/man1/memusagestat.1
> @@ -33,7 +33,7 @@ memory profiling data in the file
>  that file is generated via the
>  .I \-d
>  (or
> -.IR --data )
> +.IR \-\-data )
>  option of
>  .BR memusage (1).
>  .PP
> diff --git a/man3/dlsym.3 b/man3/dlsym.3
> index 2abb0b1d0..58519b5d8 100644
> --- a/man3/dlsym.3
> +++ b/man3/dlsym.3
> @@ -145,7 +145,7 @@ function is a GNU extension.
>  There are several scenarios when the address of a global symbol is NULL.
>  For example, a symbol can be placed at zero address by the linker, via
>  a linker script or with
> -.I --defsym
> +.I \-\-defsym
>  command-line option. Undefined weak symbols also have NULL value.
>  Finally, the symbol value may be the result of
>  a GNU indirect function (IFUNC) resolver function that returns
> diff --git a/man3/posix_spawn.3 b/man3/posix_spawn.3
> index f425a39e3..cb7faabcc 100644
> --- a/man3/posix_spawn.3
> +++ b/man3/posix_spawn.3
> @@ -429,7 +429,7 @@ If
>  .I file_actions
>  is NULL, then no special action is taken, and standard
>  .BR exec (3)
> -semantics apply--file descriptors open before the exec
> +semantics apply\(emfile descriptors open before the exec
>  remain open in the new process,
>  except those for which the
>  .B FD_CLOEXEC
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

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

end of thread, other threads:[~2020-07-06 11:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-05 16:37 [PATCH] man[13]/*: ffix: change '--' to '\-\-' (options) or '\(em' (em-dash) Bjarni Ingi Gislason
2020-07-06 11:42 ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).