pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedpg_regress --help missing description of --bindir
3+ messages / 2 participants
[nested] [flat]
* pg_regress --help missing description of --bindir
@ 2016-01-06 05:41 Michael Paquier <michael.paquier@gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Michael Paquier @ 2016-01-06 05:41 UTC (permalink / raw)
To: pgsql-bugs
Hi all,
I just bumped into the issue defined in $subject.
Attached is a patch.
Regards,
--
Michael
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Attachments:
pgregress_help.patch (application/x-patch, 757B) download
diff --git a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c
index a1902fe..fd5c0d8 100644
--- a/src/test/regress/pg_regress.c
+++ b/src/test/regress/pg_regress.c
@@ -1955,6 +1955,8 @@ help(void)
printf(_("Usage:\n %s [OPTION]... [EXTRA-TEST]...\n"), progname);
printf(_("\n"));
printf(_("Options:\n"));
+ printf(_(" --bindir=DIR look for binaries in DIR (PATH is used if\n"));
+ printf(_(" DIR is explicitely not specified.)\n"));
printf(_(" --config-auth=DATADIR update authentication settings for DATADIR\n"));
printf(_(" --create-role=ROLE create the specified role before testing\n"));
printf(_(" --dbname=DB use database DB (default \"regression\")\n"));
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pg_regress --help missing description of --bindir
@ 2016-01-06 19:53 Alvaro Herrera <alvherre@2ndquadrant.com>
parent: Michael Paquier <michael.paquier@gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Alvaro Herrera @ 2016-01-06 19:53 UTC (permalink / raw)
To: Michael Paquier <michael.paquier@gmail.com>; +Cc: pgsql-bugs
Michael Paquier wrote:
> Hi all,
>
> I just bumped into the issue defined in $subject.
> Attached is a patch.
I don't understand the parenthical remark. Do you mean that if you pass
"--bindir" without an argument it uses PATH? That would be weird; but
if that's how it works, then it should look like --bindir[=DIR]. If you
don't mean that, then I think the proposed wording is confusing. Maybe
"PATH is searched if this option not given"?
--
Á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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pg_regress --help missing description of --bindir
@ 2016-01-07 02:19 Michael Paquier <michael.paquier@gmail.com>
parent: Alvaro Herrera <alvherre@2ndquadrant.com>
0 siblings, 0 replies; 3+ messages in thread
From: Michael Paquier @ 2016-01-07 02:19 UTC (permalink / raw)
To: Alvaro Herrera <alvherre@2ndquadrant.com>; +Cc: pgsql-bugs
On Thu, Jan 7, 2016 at 4:53 AM, Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
> Michael Paquier wrote:
>> Hi all,
>>
>> I just bumped into the issue defined in $subject.
>> Attached is a patch.
>
> I don't understand the parenthical remark. Do you mean that if you pass
> "--bindir" without an argument it uses PATH? That would be weird; but
> if that's how it works, then it should look like --bindir[=DIR].
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2016-01-07 02:19 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-01-06 05:41 pg_regress --help missing description of --bindir Michael Paquier <michael.paquier@gmail.com>
2016-01-06 19:53 ` Alvaro Herrera <alvherre@2ndquadrant.com>
2016-01-07 02:19 ` Michael Paquier <michael.paquier@gmail.com>
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