Linux-man Archive on lore.kernel.org
 help / color / 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	[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, back to index

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)

Linux-man Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-man/0 linux-man/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-man linux-man/ https://lore.kernel.org/linux-man \
		linux-man@vger.kernel.org
	public-inbox-index linux-man

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-man


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git