From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: D. S. <spider@skuggor.se>
Cc: pgsql-bugs@postgresql.org
Subject: Re: unrecognized option '--help
Date: Thu, 21 May 2015 22:36:19 -0300
Message-ID: <20150522013619.GQ5885@postgresql.org> (raw)
In-Reply-To: <CAB7nPqT=EThRyqmb3vixi1qa1WevMitPk2GHqY2MvOwr0aOk_w@mail.gmail.com>
References: <1432193703.4099.3.camel@skuggor.se>
<CAB7nPqT=EThRyqmb3vixi1qa1WevMitPk2GHqY2MvOwr0aOk_w@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Michael Paquier wrote:
> On Thu, May 21, 2015 at 4:35 PM, D. S. <spider@skuggor.se> wrote:
> > Explanation:
> > If anything is ahead of --help, "--help" is then an unrecognized
> > option.
>
> It is wanted this way for all the utilities of src/bin. See
> handle_help_version_opts() in src/bin/scripts/common.c for your case.
Is it really wanted? I find it very annoying and wish it didn't do
that.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: alvherre@2ndquadrant.com, michael.paquier@gmail.com, spider@skuggor.se
Subject: Re: unrecognized option '--help
In-Reply-To: <20150522013619.GQ5885@postgresql.org>
References: <1432193703.4099.3.camel@skuggor.se> <CAB7nPqT=EThRyqmb3vixi1qa1WevMitPk2GHqY2MvOwr0aOk_w@mail.gmail.com> <20150522013619.GQ5885@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox