Skip to contentSkip to conversation

man4/*: ffix, change '-' to '\-' for options

PATCH In review Bjarni Ingi Gislason 2 participants 2 messages Jul 1, 2020 – Jul 2, 2020 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 man4/*: ffix, change '-' to '\-' for options

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

---
 man4/cciss.4 | 4 ++--
 man4/loop.4  | 2 +-
 man4/veth.4  | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
man4/cciss.4 +2 -2
index 9600c8f6f..d5732f168 100644
@@ -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),
man4/loop.4 +1 -1
index 1623cad0e..41e13d16f 100644
@@ -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
man4/veth.4 +1 -1
index e5d11b2b6..1fdc7822e 100644
@@ -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
Signature · 1 line
2.27.0
#1 lore raw
Quoted 1 line · Bjarni Ingi Gislason

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

Thanks! Patch applied,

Cheers,

Michael

Quoted 56 lines
---
 man4/cciss.4 | 4 ++--
 man4/loop.4  | 2 +-
 man4/veth.4  | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
man4/cciss.4 +2 -2
index 9600c8f6f..d5732f168 100644
@@ -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),
man4/loop.4 +1 -1
index 1623cad0e..41e13d16f 100644
@@ -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
man4/veth.4 +1 -1
index e5d11b2b6..1fdc7822e 100644
@@ -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
Signature · 3 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/