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

Commit6684326

Browse files
committed
Indicate default format in --help output of pg_dump and pg_basebackup
1 parent037a827 commit6684326

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

‎src/bin/pg_basebackup/pg_basebackup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ usage(void)
105105
printf(_(" %s [OPTION]...\n"),progname);
106106
printf(_("\nOptions controlling the output:\n"));
107107
printf(_(" -D, --pgdata=DIRECTORY receive base backup into directory\n"));
108-
printf(_(" -F, --format=p|t output format (plain, tar)\n"));
108+
printf(_(" -F, --format=p|t output format (plain (default), tar)\n"));
109109
printf(_(" -x, --xlog=fetch|stream include required WAL files in backup\n"));
110110
printf(_(" -z, --gzip compress tar output\n"));
111111
printf(_(" -Z, --compress=0-9 compress tar output with given compression level\n"));

‎src/bin/pg_dump/pg_dump.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,8 @@ help(const char *progname)
860860

861861
printf(_("\nGeneral options:\n"));
862862
printf(_(" -f, --file=FILENAME output file or directory name\n"));
863-
printf(_(" -F, --format=c|d|t|p output file format (custom, directory, tar, plain text)\n"));
863+
printf(_(" -F, --format=c|d|t|p output file format (custom, directory, tar,\n"
864+
" plain text (default))\n"));
864865
printf(_(" -v, --verbose verbose mode\n"));
865866
printf(_(" -Z, --compress=0-9 compression level for compressed formats\n"));
866867
printf(_(" --lock-wait-timeout=TIMEOUT fail after waiting TIMEOUT for a table lock\n"));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp