aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
authorBjarni Ingi Gislason <bjarniig@rhi.hi.is>2020-07-01 22:08:50 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-07-02 12:20:04 +0200
commit2c1acf16daacfa2938b8d6077e28203256cf1503 (patch)
tree86076baf6ddbad40ac1d5916f7b0dc9c255f6950 /man2
parent8ef1d3d11ddefa87351578da2ae0830e48686ee4 (diff)
downloadman-pages-2c1acf16daacfa2938b8d6077e28203256cf1503.tar.gz
man2/*: ffix: change '-' to '\-' for options
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>
Diffstat (limited to 'man2')
-rw-r--r--man2/alloc_hugepages.22
-rw-r--r--man2/listxattr.26
-rw-r--r--man2/mkdir.24
-rw-r--r--man2/open.22
-rw-r--r--man2/ptrace.22
-rw-r--r--man2/sched_setaffinity.22
-rw-r--r--man2/seccomp.22
-rw-r--r--man2/stat.22
-rw-r--r--man2/unshare.22
9 files changed, 12 insertions, 12 deletions
diff --git a/man2/alloc_hugepages.2 b/man2/alloc_hugepages.2
index 14ed0516a6..a5e6cb138a 100644
--- a/man2/alloc_hugepages.2
+++ b/man2/alloc_hugepages.2
@@ -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
diff --git a/man2/listxattr.2 b/man2/listxattr.2
index 28b55c1e1e..40fcf377c3 100644
--- a/man2/listxattr.2
+++ b/man2/listxattr.2
@@ -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
diff --git a/man2/mkdir.2 b/man2/mkdir.2
index 7ccb8df053..951f6bd92a 100644
--- a/man2/mkdir.2
+++ b/man2/mkdir.2
@@ -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
diff --git a/man2/open.2 b/man2/open.2
index ef00f3cb9b..062ce57963 100644
--- a/man2/open.2
+++ b/man2/open.2
@@ -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;
diff --git a/man2/ptrace.2 b/man2/ptrace.2
index f7a874794d..5524e282e7 100644
--- a/man2/ptrace.2
+++ b/man2/ptrace.2
@@ -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
diff --git a/man2/sched_setaffinity.2 b/man2/sched_setaffinity.2
index 84f7cbdc26..aeaa8ac70c 100644
--- a/man2/sched_setaffinity.2
+++ b/man2/sched_setaffinity.2
@@ -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
diff --git a/man2/seccomp.2 b/man2/seccomp.2
index 2e7ecbfafe..a1b1a28db9 100644
--- a/man2/seccomp.2
+++ b/man2/seccomp.2
@@ -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
diff --git a/man2/stat.2 b/man2/stat.2
index ba0b906315..395b608458 100644
--- a/man2/stat.2
+++ b/man2/stat.2
@@ -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
diff --git a/man2/unshare.2 b/man2/unshare.2
index 110f739da3..5815e1f6cd 100644
--- a/man2/unshare.2
+++ b/man2/unshare.2
@@ -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