linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] man5/*: ffix, change '-' to '\-' for options
@ 2020-07-01 23:12 Bjarni Ingi Gislason
  2020-07-02 10:28 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 2+ messages in thread
From: Bjarni Ingi Gislason @ 2020-07-01 23:12 UTC (permalink / raw)
  To: mtk.manpages; +Cc: linux-man

  Change '-' to '\-' for the prefix of names to indicate an option.

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
 man5/tmpfs.5 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man5/tmpfs.5 b/man5/tmpfs.5
index 3d7fbaec5..2669317ea 100644
--- a/man5/tmpfs.5
+++ b/man5/tmpfs.5
@@ -40,7 +40,7 @@ via a command such as the following:
 .PP
 .in +4n
 .EX
-$ sudo mount \-t tmpfs -o size=10M tmpfs /mnt/mytmpfs
+$ sudo mount \-t tmpfs \-o size=10M tmpfs /mnt/mytmpfs
 .EE
 .in
 .PP
-- 
2.27.0

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

* Re: [PATCH] man5/*: ffix, change '-' to '\-' for options
  2020-07-01 23:12 [PATCH] man5/*: ffix, change '-' to '\-' for options Bjarni Ingi Gislason
@ 2020-07-02 10:28 ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2020-07-02 10:28 UTC (permalink / raw)
  To: Bjarni Ingi Gislason; +Cc: mtk.manpages, linux-man

On 7/2/20 1:12 AM, Bjarni Ingi Gislason wrote:
>   Change '-' to '\-' for the prefix of names to indicate an option.

Thanks! Patch applied,

Cheers,

Michael

> Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
> ---
>  man5/tmpfs.5 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man5/tmpfs.5 b/man5/tmpfs.5
> index 3d7fbaec5..2669317ea 100644
> --- a/man5/tmpfs.5
> +++ b/man5/tmpfs.5
> @@ -40,7 +40,7 @@ via a command such as the following:
>  .PP
>  .in +4n
>  .EX
> -$ sudo mount \-t tmpfs -o size=10M tmpfs /mnt/mytmpfs
> +$ sudo mount \-t tmpfs \-o size=10M tmpfs /mnt/mytmpfs
>  .EE
>  .in
>  .PP
> 


-- 
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-02 10:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-01 23:12 [PATCH] man5/*: ffix, change '-' to '\-' for options Bjarni Ingi Gislason
2020-07-02 10:28 ` 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).