Re: unrecognized option '--help

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: "D(dot) S(dot)" <spider(at)skuggor(dot)se>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: unrecognized option '--help
Date: 2015-05-22 01:36:19
Message-ID: 20150522013619.GQ5885@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Michael Paquier wrote:
> On Thu, May 21, 2015 at 4:35 PM, D. S. <spider(at)skuggor(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andres Freund 2015-05-22 01:44:07 Re: unrecognized option '--help
Previous Message Greg Stark 2015-05-22 00:26:24 Re: BUG #13324: Database returing incorrect results on querying slect clause