Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb83bb97

Browse files
committed
Clean up pg_regress --help output
Put options listing in a less random order, fix capitalization, andsome typos.
1 parentaeabbcc commitb83bb97

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

‎src/test/regress/pg_regress.c

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1870,40 +1870,40 @@ help(void)
18701870
{
18711871
printf(_("PostgreSQL regression test driver\n"));
18721872
printf(_("\n"));
1873-
printf(_("Usage:%s [options...] [extra tests...]\n"),progname);
1873+
printf(_("Usage:\n%s [OPTION]... [EXTRA-TEST]...\n"),progname);
18741874
printf(_("\n"));
18751875
printf(_("Options:\n"));
1876+
printf(_(" --create-role=ROLE create the specified role before testing\n"));
18761877
printf(_(" --dbname=DB use database DB (default \"regression\")\n"));
18771878
printf(_(" --debug turn on debug mode in programs that are run\n"));
1879+
printf(_(" --dlpath=DIR look for dynamic libraries in DIR\n"));
1880+
printf(_(" --encoding=ENCODING use ENCODING as the encoding\n"));
18781881
printf(_(" --inputdir=DIR take input files from DIR (default \".\")\n"));
1879-
printf(_(" --load-language=lang load the named language before running the\n"));
1882+
printf(_(" --launcher=CMD use CMD as launcher of psql\n"));
1883+
printf(_(" --load-extension=EXT load the named extension before running the\n"));
18801884
printf(_(" tests; can appear multiple times\n"));
1881-
printf(_(" --load-extension=ext load the namedextension before running the\n"));
1885+
printf(_(" --load-language=LANG load the namedlanguage before running the\n"));
18821886
printf(_(" tests; can appear multiple times\n"));
1883-
printf(_(" --create-role=ROLE create the specified role before testing\n"));
18841887
printf(_(" --max-connections=N maximum number of concurrent connections\n"));
1885-
printf(_(" (default is 0 meaning unlimited)\n"));
1886-
printf(_(" --encoding=ENCODING use ENCODING as the encoding\n"));
1888+
printf(_(" (default is 0, meaning unlimited)\n"));
18871889
printf(_(" --outputdir=DIR place output files in DIR (default \".\")\n"));
18881890
printf(_(" --schedule=FILE use test ordering schedule from FILE\n"));
18891891
printf(_(" (can be used multiple times to concatenate)\n"));
1890-
printf(_(" --dlpath=DIR look for dynamic libraries in DIR\n"));
18911892
printf(_(" --temp-install=DIR create a temporary installation in DIR\n"));
18921893
printf(_(" --use-existing use an existing installation\n"));
1893-
printf(_(" --launcher=CMD use CMD as launcher of psql\n"));
18941894
printf(_("\n"));
18951895
printf(_("Options for \"temp-install\" mode:\n"));
1896+
printf(_(" --extra-install=DIR additional directory to install (e.g., contrib)\n"));
18961897
printf(_(" --no-locale use C locale\n"));
1897-
printf(_(" --top-builddir=DIR (relative) path to top level build directory\n"));
18981898
printf(_(" --port=PORT start postmaster on PORT\n"));
1899-
printf(_(" --temp-config=PATH append contents ofPATH to temporary config\n"));
1900-
printf(_(" --extra-install=DIRadditional directorytoinstall (e.g., contrib\n"));
1899+
printf(_(" --temp-config=FILE append contents ofFILE to temporary config\n"));
1900+
printf(_(" --top-builddir=DIR (relative) pathtotop level build directory\n"));
19011901
printf(_("\n"));
19021902
printf(_("Options for using an existing installation:\n"));
19031903
printf(_(" --host=HOST use postmaster running on HOST\n"));
19041904
printf(_(" --port=PORT use postmaster running at PORT\n"));
19051905
printf(_(" --user=USER connect as USER\n"));
1906-
printf(_(" --psqldir=DIR use psql in DIR (default:find in PATH)\n"));
1906+
printf(_(" --psqldir=DIR use psql in DIR (default:configured bindir)\n"));
19071907
printf(_("\n"));
19081908
printf(_("The exit status is 0 if all tests passed, 1 if some tests failed, and 2\n"));
19091909
printf(_("if the tests could not be run for some reason.\n"));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp