Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Yvbsz-0004fZ-N0 for pgsql-bugs@arkaria.postgresql.org; Fri, 22 May 2015 01:36:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Yvbsy-0002eP-9I for pgsql-bugs@arkaria.postgresql.org; Fri, 22 May 2015 01:36:28 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Yvbsx-0002eJ-Gy for pgsql-bugs@postgresql.org; Fri, 22 May 2015 01:36:27 +0000 Received: from mail-qk0-f180.google.com ([209.85.220.180]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Yvbsu-0003R5-GC for pgsql-bugs@postgresql.org; Fri, 22 May 2015 01:36:26 +0000 Received: by qkgx75 with SMTP id x75so3090230qkg.1 for ; Thu, 21 May 2015 18:36:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=GGjSRWcRnfWFM1HulggF63PgdjXus/UhLp/L6iWnXF0=; b=AnXifxrl/Ilwxisg3ELDdrzVIN4mctkCT1IpJh3m5/nO6BuAxovMpjo1lE5PxfZKgQ c1D9GOLdJLV31CujSQm0KqzcI5v+xQ/VO5vhNWAZHKdcD8oYXtG4MwoHNRpCgSKCbClx l+CvBZgemGm1H5amHqE0Rq4mxDcdWxebgFm646GrFcrBaiOXFZG7zyA2TC4uceVk3CfN Ew3a7TsgNZN36rFIlImhw58/Edl7TxLV9BcbJOpOiE6uPP4IIQWoxojWdydHd8fvQLl8 RonRQDFGVyzafH89mPpRG1njQWSasWjFrmYDDNE4lCFI2MyanMFO1t2J6On8qLgm1VOQ kpCg== X-Gm-Message-State: ALoCoQks4M8l7by6c7srof9qGHCMXIrg7VyxuCNJBPjBpK5KRqEm28od65Sz+SIo+iJzAMLDlJ7H X-Received: by 10.140.108.195 with SMTP id j61mr7853166qgf.83.1432258583141; Thu, 21 May 2015 18:36:23 -0700 (PDT) Received: from alvin.alvh.no-ip.org ([181.42.249.21]) by mx.google.com with ESMTPSA id j60sm410638qge.38.2015.05.21.18.36.22 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 May 2015 18:36:22 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 4DB2A541; Thu, 21 May 2015 22:36:19 -0300 (CLT) Date: Thu, 21 May 2015 22:36:19 -0300 From: Alvaro Herrera To: Michael Paquier Cc: "D. S." , pgsql-bugs@postgresql.org Subject: Re: unrecognized option '--help Message-ID: <20150522013619.GQ5885@postgresql.org> References: <1432193703.4099.3.camel@skuggor.se> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Michael Paquier wrote: > On Thu, May 21, 2015 at 4:35 PM, D. S. 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