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

Commit2f80c95

Browse files
Mark options as deprecated in usage output
Some deprecated options were not marked as such in usage output. Thisdoes so across the installed binaries in an attempt to provide consistentmarkup for this.Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>Discussion:https://postgr.es/m/062C6A8A-A4E8-4F52-9E31-45F0C9E9915E@yesql.se
1 parent7ab1bc2 commit2f80c95

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

‎contrib/oid2name/oid2name.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ help(const char *progname)
217217
"\nConnection options:\n"
218218
" -d, --dbname=DBNAME database to connect to\n"
219219
" -h, --host=HOSTNAME database server host or socket directory\n"
220-
" -H same as -h, deprecated option\n"
220+
" -H(same as -h, deprecated)\n"
221221
" -p, --port=PORT database server port number\n"
222222
" -U, --username=USERNAME connect as specified database user\n"
223223
"\nThe default action is to show all database OIDs.\n\n"

‎src/backend/main/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ help(const char *progname)
339339
printf(_(" -e use European date input format (DMY)\n"));
340340
printf(_(" -F turn fsync off\n"));
341341
printf(_(" -h HOSTNAME host name or IP address to listen on\n"));
342-
printf(_(" -i enable TCP/IP connections\n"));
342+
printf(_(" -i enable TCP/IP connections (deprecated)\n"));
343343
printf(_(" -k DIRECTORY Unix-domain socket location\n"));
344344
#ifdefUSE_SSL
345345
printf(_(" -l enable SSL connections\n"));

‎src/bin/pg_dump/pg_dump.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,10 +1037,10 @@ help(const char *progname)
10371037

10381038
printf(_("\nOptions controlling the output content:\n"));
10391039
printf(_(" -a, --data-only dump only the data, not the schema\n"));
1040-
printf(_(" -b, --large-objects, --blobs\n"
1041-
" includelargeobjects in dump\n"));
1042-
printf(_(" -B, --no-large-objects, --no-blobs\n"
1043-
" excludelargeobjects in dump\n"));
1040+
printf(_(" -b, --large-objects include large objects in dump\n"
1041+
"--blobs(same as --large-objects, deprecated)\n"));
1042+
printf(_(" -B, --no-large-objects exclude large objects in dump\n"
1043+
"--no-blobs(same as --no-large-objects, deprecated)\n"));
10441044
printf(_(" -c, --clean clean (drop) database objects before recreating\n"));
10451045
printf(_(" -C, --create include commands to create database in dump\n"));
10461046
printf(_(" -e, --extension=PATTERN dump the specified extension(s) only\n"));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp