]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man2/*: ffix: change '-' to '\-' for options
authorBjarni Ingi Gislason <bjarniig@rhi.hi.is>
Wed, 1 Jul 2020 22:08:50 +0000 (22:08 +0000)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 2 Jul 2020 10:20:04 +0000 (12:20 +0200)
  Change '-' to '\-' for the prefix of names to indicate an option.

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/alloc_hugepages.2
man2/listxattr.2
man2/mkdir.2
man2/open.2
man2/ptrace.2
man2/sched_setaffinity.2
man2/seccomp.2
man2/stat.2
man2/unshare.2

index 14ed0516a6e3d0f3e99714a879a698e102c00159..a5e6cb138a36ea46fe3bd9997d55597f26742050 100644 (file)
@@ -146,5 +146,5 @@ boot parameter.
 .\".PP
 .\" requires CONFIG_HUGETLB_PAGE (under "Processor type and features")
 .\" and CONFIG_HUGETLBFS (under "Filesystems").
-.\" mount -t hugetlbfs hugetlbfs /huge
+.\" mount \-t hugetlbfs hugetlbfs /huge
 .\" SHM_HUGETLB
index 28b55c1e1e3700f7a35001dcc4b7d490bd6e7020..40fcf377c3bac8c891760fb32959a07cf8f6f5e4 100644 (file)
@@ -203,9 +203,9 @@ and then listing the attributes with the example program.
 .in +4n
 .EX
 $ \fBtouch /tmp/foo\fP
-$ \fBsetfattr -n user.fred -v chocolate /tmp/foo\fP
-$ \fBsetfattr -n user.frieda -v bar /tmp/foo\fP
-$ \fBsetfattr -n user.empty /tmp/foo\fP
+$ \fBsetfattr \-n user.fred \-v chocolate /tmp/foo\fP
+$ \fBsetfattr \-n user.frieda \-v bar /tmp/foo\fP
+$ \fBsetfattr \-n user.empty /tmp/foo\fP
 $ \fB./listxattr /tmp/foo\fP
 user.fred: chocolate
 user.frieda: bar
index 7ccb8df0530850efa8533ed1c61a2c0c7e208c9b..951f6bd92a4028b774cd597b0fa08e6a4049f82a 100644 (file)
@@ -66,9 +66,9 @@ The newly created directory will be owned by the effective user ID of the
 process.
 If the directory containing the file has the set-group-ID
 bit set, or if the filesystem is mounted with BSD group semantics
-.RI ( "mount -o bsdgroups"
+.RI ( "mount \-o bsdgroups"
 or, synonymously
-.IR "mount -o grpid" ),
+.IR "mount \-o grpid" ),
 the new directory will inherit the group ownership from its parent;
 otherwise it will be owned by the effective group ID of the process.
 .PP
index ef00f3cb9b43cb15998e43ab6f780b464e84b21b..062ce57963c4b588cbcb9a9ab5d1230110fb95b2 100644 (file)
@@ -1192,7 +1192,7 @@ does not support
 refers to a regular file that is too large to be opened.
 The usual scenario here is that an application compiled
 on a 32-bit platform without
-.I -D_FILE_OFFSET_BITS=64
+.I \-D_FILE_OFFSET_BITS=64
 tried to open a file whose size exceeds
 .I (1<<31)-1
 bytes;
index f7a874794d588146b310803f3d975b3e5f608f2b..5524e282e749a61ee0d4bb9fe0851d9c151d9433 100644 (file)
@@ -2270,7 +2270,7 @@ to the tracee after
 returns.
 This is an ordinary signal (similar to one which can be
 generated by
-.IR "kill -TRAP" ),
+.IR "kill \-TRAP" ),
 not a special kind of ptrace-stop.
 Employing
 .B PTRACE_GETSIGINFO
index 84f7cbdc2652b17d9fa9197561281f494da75000..aeaa8ac70c148a9ff66e617098eff6dd0f679c82 100644 (file)
@@ -324,7 +324,7 @@ system has two cores, each with two CPUs:
 .PP
 .in +4n
 .EX
-$ \fBlscpu | egrep -i 'core.*:|socket'\fP
+$ \fBlscpu | egrep \-i 'core.*:|socket'\fP
 Thread(s) per core:    2
 Core(s) per socket:    2
 Socket(s):             1
index 2e7ecbfafeebe334a99e821bc3974d556459c538..a1b1a28db9bf5bfcf0a2a2cef450fd2d4e67dc58 100644 (file)
@@ -940,7 +940,7 @@ numbers on this architecture:
 .PP
 .in +4n
 .EX
-$ \fBuname -m\fP
+$ \fBuname \-m\fP
 x86_64
 $ \fBsyscall_nr() {
     cat /usr/src/linux/arch/x86/syscalls/syscall_64.tbl | \e
index ba0b9063153af5620df3c92b444b6a66009e22f7..395b6084583746ea730c2f591824c2a2ac48837c 100644 (file)
@@ -432,7 +432,7 @@ or
 .IR blkcnt_t .
 This error can occur when, for example,
 an application compiled on a 32-bit platform without
-.I -D_FILE_OFFSET_BITS=64
+.I \-D_FILE_OFFSET_BITS=64
 calls
 .BR stat ()
 on a file whose size exceeds
index 110f739da30dfbbd24f98d540980a648f4c3d939..5815e1f6cdcc82648e237dfb1045eac2ddce8900 100644 (file)
@@ -474,7 +474,7 @@ new shell are in separate mount namespaces:
 .EX
 $ \fBreadlink /proc/$$/ns/mnt\fP
 mnt:[4026531840]
-$ \fBsudo ./unshare -m /bin/bash\fP
+$ \fBsudo ./unshare \-m /bin/bash\fP
 # \fBreadlink /proc/$$/ns/mnt\fP
 mnt:[4026532325]
 .EE