summaryrefslogtreecommitdiffstats
path: root/sys-utils/setarch.8
diff options
context:
space:
mode:
authorBenno Schulenberg2014-12-24 17:56:04 +0100
committerKarel Zak2015-01-06 11:41:03 +0100
commit6ad5b22ca6cbdc45ce3de91153916f0381609786 (patch)
treedee237d3b208d923e4e355260cc5cfb8102dd366 /sys-utils/setarch.8
parentipcrm: gettextize the command synopsis of the usage text (diff)
downloadkernel-qcow2-util-linux-6ad5b22ca6cbdc45ce3de91153916f0381609786.tar.gz
kernel-qcow2-util-linux-6ad5b22ca6cbdc45ce3de91153916f0381609786.tar.xz
kernel-qcow2-util-linux-6ad5b22ca6cbdc45ce3de91153916f0381609786.zip
docs: restore the alternative form of setarch in its man page
Commit c372860ddb4a768f7f6c50cd26d60119370d5cd accidentally removed the alternative form of setarch in which the command name specifies the architecture to be set. Also improve some formatting. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'sys-utils/setarch.8')
-rw-r--r--sys-utils/setarch.821
1 files changed, 11 insertions, 10 deletions
diff --git a/sys-utils/setarch.8 b/sys-utils/setarch.8
index ad9d4c29d..a9a126a3c 100644
--- a/sys-utils/setarch.8
+++ b/sys-utils/setarch.8
@@ -1,4 +1,4 @@
-.TH SETARCH 8 "July 2014" "util-linux" "System Administration"
+.TH SETARCH 8 "December 2014" "util-linux" "System Administration"
.SH NAME
setarch \- change reported architecture in new program environment and set personality flags
.SH SYNOPSIS
@@ -6,21 +6,22 @@ setarch \- change reported architecture in new program environment and set perso
.I arch
[options]
.RI [ program
-.RI [ arguments ]]
+.RI [ argument ...]]
+.sp
+.B arch
+[options]
+.RI [ program
+.RI [ argument ...]]
.sp
.B setarch
.BR \-\-list | \-h | \-V
.SH DESCRIPTION
.B setarch
currently only affects the output of \fBuname -m\fR.
-For example, on an AMD64 system, running 'setarch i386 program' will cause 'program' to see
-.IR i686
-instead of
-.IR x86_64
-as the machine type. It also allows to set various personality options.
-The default
-.B program
-is /bin/sh.
+For example, on an AMD64 system, running \fBsetarch i386 \fIprogram\fR
+will cause \fIprogram\fR to see i686 instead of x86_64 as the machine type.
+It also allows to set various personality options.
+The default \fIprogram\fR is \fB/bin/sh\fR.
.SH OPTIONS
.TP
\fB\-\-list\fR