Linux-man Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] man4/*: ffix, change '-' to '\-' for options
@ 2020-07-01 23:01 Bjarni Ingi Gislason
  2020-07-02 10:27 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 2+ messages in thread
From: Bjarni Ingi Gislason @ 2020-07-01 23:01 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>
---
 man4/cciss.4 | 4 ++--
 man4/loop.4  | 2 +-
 man4/veth.4  | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/man4/cciss.4 b/man4/cciss.4
index 9600c8f6f..d5732f168 100644
--- a/man4/cciss.4
+++ b/man4/cciss.4
@@ -140,7 +140,7 @@ For example:
 .in +4n
 .EX
 $ \fBcd /proc/driver/cciss\fP
-$ \fBls -l\fP
+$ \fBls \-l\fP
 total 0
 -rw-r--r-- 1 root root 0 2010\-09\-10 10:38 cciss0
 -rw-r--r-- 1 root root 0 2010\-09\-10 10:38 cciss1
@@ -360,7 +360,7 @@ successfully reset or the tardy command is successfully aborted, the
 tape drive may still not allow I/O to continue until some command
 is issued that positions the tape to a known position.
 Typically you must rewind the tape (by issuing
-.I "mt -f /dev/st0 rewind"
+.I "mt \-f /dev/st0 rewind"
 for example) before I/O can proceed again to a tape drive that was reset.
 .SH SEE ALSO
 .BR hpsa (4),
diff --git a/man4/loop.4 b/man4/loop.4
index 1623cad0e..41e13d16f 100644
--- a/man4/loop.4
+++ b/man4/loop.4
@@ -43,7 +43,7 @@ You could do
 .EX
 $ \fBdd if=/dev/zero of=file.img bs=1MiB count=10\fP
 $ \fBsudo losetup /dev/loop4 file.img\fP
-$ \fBsudo mkfs -t ext4 /dev/loop4\fP
+$ \fBsudo mkfs \-t ext4 /dev/loop4\fP
 $ \fBsudo mkdir /myloopdev\fP
 $ \fBsudo mount /dev/loop4 /myloopdev\fP
 .EE
diff --git a/man4/veth.4 b/man4/veth.4
index e5d11b2b6..1fdc7822e 100644
--- a/man4/veth.4
+++ b/man4/veth.4
@@ -91,7 +91,7 @@ network interface, using commands something like:
 .in +4n
 .EX
 # \fBip link add ve_A type veth peer name ve_B\fP   # Create veth pair
-# \fBethtool -S ve_A\fP         # Discover interface index of peer
+# \fBethtool \-S ve_A\fP         # Discover interface index of peer
 NIC statistics:
      peer_ifindex: 16
 # \fBip link | grep '^16:'\fP   # Look up interface
-- 
2.27.0

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

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

On 7/2/20 1:01 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>
> ---
>  man4/cciss.4 | 4 ++--
>  man4/loop.4  | 2 +-
>  man4/veth.4  | 2 +-
>  3 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/man4/cciss.4 b/man4/cciss.4
> index 9600c8f6f..d5732f168 100644
> --- a/man4/cciss.4
> +++ b/man4/cciss.4
> @@ -140,7 +140,7 @@ For example:
>  .in +4n
>  .EX
>  $ \fBcd /proc/driver/cciss\fP
> -$ \fBls -l\fP
> +$ \fBls \-l\fP
>  total 0
>  -rw-r--r-- 1 root root 0 2010\-09\-10 10:38 cciss0
>  -rw-r--r-- 1 root root 0 2010\-09\-10 10:38 cciss1
> @@ -360,7 +360,7 @@ successfully reset or the tardy command is successfully aborted, the
>  tape drive may still not allow I/O to continue until some command
>  is issued that positions the tape to a known position.
>  Typically you must rewind the tape (by issuing
> -.I "mt -f /dev/st0 rewind"
> +.I "mt \-f /dev/st0 rewind"
>  for example) before I/O can proceed again to a tape drive that was reset.
>  .SH SEE ALSO
>  .BR hpsa (4),
> diff --git a/man4/loop.4 b/man4/loop.4
> index 1623cad0e..41e13d16f 100644
> --- a/man4/loop.4
> +++ b/man4/loop.4
> @@ -43,7 +43,7 @@ You could do
>  .EX
>  $ \fBdd if=/dev/zero of=file.img bs=1MiB count=10\fP
>  $ \fBsudo losetup /dev/loop4 file.img\fP
> -$ \fBsudo mkfs -t ext4 /dev/loop4\fP
> +$ \fBsudo mkfs \-t ext4 /dev/loop4\fP
>  $ \fBsudo mkdir /myloopdev\fP
>  $ \fBsudo mount /dev/loop4 /myloopdev\fP
>  .EE
> diff --git a/man4/veth.4 b/man4/veth.4
> index e5d11b2b6..1fdc7822e 100644
> --- a/man4/veth.4
> +++ b/man4/veth.4
> @@ -91,7 +91,7 @@ network interface, using commands something like:
>  .in +4n
>  .EX
>  # \fBip link add ve_A type veth peer name ve_B\fP   # Create veth pair
> -# \fBethtool -S ve_A\fP         # Discover interface index of peer
> +# \fBethtool \-S ve_A\fP         # Discover interface index of peer
>  NIC statistics:
>       peer_ifindex: 16
>  # \fBip link | grep '^16:'\fP   # Look up interface
> 


-- 
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:01 [PATCH] man4/*: ffix, change '-' to '\-' for options Bjarni Ingi Gislason
2020-07-02 10:27 ` 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