From: Benno Schulenberg <bensberg@justemail.net>
To: Karel Zak <kzak@redhat.com>
Cc: Robert Milasan <rmilasan@suse.com>,
"Util-Linux" <util-linux@vger.kernel.org>
Subject: Re: swapon: fix -d short option
Date: Tue, 21 Oct 2014 21:41:40 +0200 [thread overview]
Message-ID: <1413920500.3703323.181688729.28BEAB7D@webmail.messagingengine.com> (raw)
In-Reply-To: <20141021103817.GH8057@x2.net.home>
On Tue, Oct 21, 2014, at 12:38, Karel Zak wrote:
> Maybe we can add something like
>
> Note that the optional policy argument cannot be separated from the -d option by a space,
It shouldn't be needed to mention this. It is just common sense that
when an option argument is optional, you cannot separate it from the
option itself by any whitespace because then the parsing cannot decide
whether the thing is the optional option argument or simply another
plain argument.
> the correct form is for example '-d=pages'.
Another correct form is '-dpages'. For the short forms of the options
the '=' is not required.
Benno
--
http://www.fastmail.fm - Faster than the air-speed velocity of an
unladen european swallow
prev parent reply other threads:[~2014-10-21 19:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-21 8:02 swapon: fix -d short option Robert Milasan
2014-10-21 9:55 ` Karel Zak
2014-10-21 10:07 ` Robert Milasan
2014-10-21 10:38 ` Karel Zak
2014-10-21 19:41 ` Benno Schulenberg [this message]
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=1413920500.3703323.181688729.28BEAB7D@webmail.messagingengine.com \
--to=bensberg@justemail.net \
--cc=kzak@redhat.com \
--cc=rmilasan@suse.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