From 6ad5b22ca6cbdc45ce3de91153916f0381609786 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 24 Dec 2014 17:56:04 +0100 Subject: 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 --- sys-utils/setarch.8 | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'sys-utils/setarch.8') 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 -- cgit v1.2.3-55-g7522