util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: JWP <elseifthen@gmx.com>
To: Benno Schulenberg <bensberg@justemail.net>, util-linux@vger.kernel.org
Cc: karel Zak <kzak@redhat.com>
Subject: Re: [PATCH 2/4] docs: mention that setarch may not be able to set all listed architectures
Date: Sun, 11 Jan 2015 11:19:06 -0500	[thread overview]
Message-ID: <54B2A27A.50401@gmx.com> (raw)
In-Reply-To: <1420897295-17573-2-git-send-email-bensberg@justemail.net>



On 01/10/2015 08:41 AM, Benno Schulenberg wrote:
> Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
> ---
>  sys-utils/setarch.8 |    9 +++++----
>  1 files changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/sys-utils/setarch.8 b/sys-utils/setarch.8
> index a9a126a..d0f1cba 100644
> --- a/sys-utils/setarch.8
> +++ b/sys-utils/setarch.8
> @@ -24,11 +24,12 @@ It also allows to set various personality options.
>  The default \fIprogram\fR is \fB/bin/sh\fR.
>  .SH OPTIONS
>  .TP
> -\fB\-\-list\fR
> -List the architectures that can be set.
> +.B \-\-list
> +List the architectures that \fBsetarch\fR knows about.  Whether \fBsetarch\fR
> +can actually set each of these architectures depends on the running kernel.
>  .TP
> -\fB\-\-uname\-2.6\fR
> -Causes the program to see a kernel version number beginning with 2.6.
> +.B \-\-uname-2.6

This is incorrect. Options are always constructed with minus signs never a hyphens.
The only time a hyphen should be used in man-pages is for normally hyphenated 
dictionary words. Commands, options, variables, paths, urls, etc. all use the
minus sign character. For troff that is \-.

groff(7)
       \-     The - (minus) sign in the current font.


> +Causes the \fIprogram\fR to see a kernel version number beginning with 2.6.
>  .TP
>  .BR \-v , " \-\-verbose"
>  Be verbose.
> 

  reply	other threads:[~2015-01-11 16:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-10 13:41 [PATCH 1/4] setarch: differentiate between "unrecognized" and "cannot set" Benno Schulenberg
2015-01-10 13:41 ` [PATCH 2/4] docs: mention that setarch may not be able to set all listed architectures Benno Schulenberg
2015-01-11 16:19   ` JWP [this message]
2015-01-11 17:07     ` Benno Schulenberg
2015-01-11 18:43       ` JWP
2015-01-12 10:41         ` karel Zak
2015-01-12 11:23   ` Karel Zak
2015-01-10 13:41 ` [PATCH 3/4] setarch: accept the option --list in any position Benno Schulenberg
2015-01-12 11:25   ` Karel Zak
2015-01-10 13:41 ` [PATCH 4/4] setarch: in the usage text only mention options that actually do something Benno Schulenberg
2015-01-12 11:33   ` Karel Zak
2015-01-12 11:23 ` [PATCH 1/4] setarch: differentiate between "unrecognized" and "cannot set" Karel Zak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54B2A27A.50401@gmx.com \
    --to=elseifthen@gmx.com \
    --cc=bensberg@justemail.net \
    --cc=kzak@redhat.com \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).