Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xq90S-00021B-GP for pgsql-bugs@arkaria.postgresql.org; Sun, 16 Nov 2014 23:13:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xq90R-0003Dq-AD for pgsql-bugs@arkaria.postgresql.org; Sun, 16 Nov 2014 23:13:19 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Xq90O-0003Db-WD for pgsql-bugs@postgresql.org; Sun, 16 Nov 2014 23:13:17 +0000 Received: from h82-117-100-142.dynamic.se.alltele.net ([82.117.100.142] helo=mea.homelinux.org) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Xq90H-0005nL-DT for pgsql-bugs@postgresql.org; Sun, 16 Nov 2014 23:13:15 +0000 Received: from meand by aun with local (Exim 4.69) (envelope-from ) id 1Xq904-00040I-Rk for pgsql-bugs@postgresql.org; Mon, 17 Nov 2014 00:12:59 +0100 Date: Mon, 17 Nov 2014 00:12:56 +0100 From: Mats Erik Andersson To: pgsql-bugs@postgresql.org Message-ID: <20141116231256.GA15348@mail.gisladisker.se> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: X-SA-Exim-Rcpt-To: pgsql-bugs@postgresql.org X-SA-Exim-Mail-From: mats.andersson@gisladisker.se X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on aun.utmark.mea X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 Subject: [PATCH] initdb: Option description. Content-Type: multipart/mixed; boundary="AhhlLboLdkugWU4S" X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:14:11 +0000) X-SA-Exim-Scanned: Yes (on aun) X-Pg-Spam-Score: 0.4 (/) 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 --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello there, the recent introduction of new options `--auth-local' and `--auth-host' have lead to some confusion in the help massage for inetdb, leaving an erroneous `local' for `--auth' and `--auth-host'. Please consider the following patch to improve the relevance. Best regards, Mats Erik Andersson --AhhlLboLdkugWU4S Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-initdb-Option-description.-tiny-change.patch" From ef7a9aca3b7261630261a6b73caaa58a717ae668 Mon Sep 17 00:00:00 2001 From: Mats Erik Andersson Date: Sun, 16 Nov 2014 23:38:41 +0100 Subject: [PATCH] initdb: Option description. (tiny change) Express clearly the difference between --auth, --auth-host, and --auth-local. --- src/bin/initdb/initdb.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c index 3b52867..62bd6ed 100644 --- a/src/bin/initdb/initdb.c +++ b/src/bin/initdb/initdb.c @@ -2868,8 +2868,8 @@ usage(const char *progname) printf(_("Usage:\n")); printf(_(" %s [OPTION]... [DATADIR]\n"), progname); printf(_("\nOptions:\n")); - printf(_(" -A, --auth=METHOD default authentication method for local connections\n")); - printf(_(" --auth-host=METHOD default authentication method for local TCP/IP connections\n")); + printf(_(" -A, --auth=METHOD default authentication method for all connections\n")); + printf(_(" --auth-host=METHOD default authentication method for TCP/IP connections\n")); printf(_(" --auth-local=METHOD default authentication method for local-socket connections\n")); printf(_(" [-D, --pgdata=]DATADIR location for this database cluster\n")); printf(_(" -E, --encoding=ENCODING set default encoding for new databases\n")); -- 1.7.3.2 --AhhlLboLdkugWU4S Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs --AhhlLboLdkugWU4S--