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

Commit1e6d294

Browse files
committed
help cleanup
1 parent555fb1d commit1e6d294

File tree

1 file changed

+19
-16
lines changed

1 file changed

+19
-16
lines changed

‎help.c‎

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -77,20 +77,22 @@ help_pg_probackup(void)
7777
printf(_(" [--compress-algorithm=compress-algorithm]\n"));
7878
printf(_(" [--compress-level=compress-level]\n"));
7979
printf(_(" [-d dbname] [-h host] [-p port] [-U username]\n"));
80-
printf(_(" [--master-db] [--master-host] [--master-port] [--master-user]\n"));
81-
printf(_(" [--replica-timeout]\n"));
80+
printf(_(" [--master-db=db_name] [--master-host=host_name]\n"));
81+
printf(_(" [--master-port=port] [--master-user=user_name]\n"));
82+
printf(_(" [--replica-timeout=timeout]\n"));
8283

8384
printf(_("\n %s show-config -B backup-dir --instance=instance_name\n"),PROGRAM_NAME);
8485

8586
printf(_("\n %s backup -B backup-path -b backup-mode --instance=instance_name\n"),PROGRAM_NAME);
86-
printf(_(" [-D pgdata-dir] [-C] [--stream [-S slot-name]] [--backup-pg-log]\n"));
87+
printf(_(" [-C] [--stream [-S slot-name]] [--backup-pg-log]\n"));
8788
printf(_(" [-j num-threads] [--archive-timeout=archive-timeout]\n"));
8889
printf(_(" [--compress-algorithm=compress-algorithm]\n"));
8990
printf(_(" [--compress-level=compress-level]\n"));
9091
printf(_(" [--progress] [--delete-expired]\n"));
9192
printf(_(" [-d dbname] [-h host] [-p port] [-U username]\n"));
92-
printf(_(" [--master-db] [--master-host] [--master-port] [--master-user]\n"));
93-
printf(_(" [--replica-timeout]\n"));
93+
printf(_(" [--master-db=db_name] [--master-host=host_name]\n"));
94+
printf(_(" [--master-port=port] [--master-user=user_name]\n"));
95+
printf(_(" [--replica-timeout=timeout]\n"));
9496

9597
printf(_("\n %s restore -B backup-dir --instance=instance_name\n"),PROGRAM_NAME);
9698
printf(_(" [-D pgdata-dir] [-i backup-id] [--progress]\n"));
@@ -137,19 +139,19 @@ static void
137139
help_backup(void)
138140
{
139141
printf(_("%s backup -B backup-path -b backup-mode --instance=instance_name\n"),PROGRAM_NAME);
140-
printf(_(" [-D pgdata-dir] [-C] [--stream [-S slot-name]] [--backup-pg-log]\n"));
142+
printf(_(" [-C] [--stream [-S slot-name]] [--backup-pg-log]\n"));
141143
printf(_(" [-j num-threads] [--archive-timeout=archive-timeout]\n"));
142144
printf(_(" [--progress] [--delete-expired]\n"));
143145
printf(_(" [--compress-algorithm=compress-algorithm]\n"));
144146
printf(_(" [--compress-level=compress-level]\n"));
145-
printf(_(" [-d dbname] [-h host] [-p port] [-U username]\n\n"));
146-
printf(_(" [--master-db] [--master-host] [--master-port] [--master-user]\n"));
147-
printf(_(" [--replica-timeout]\n"));
147+
printf(_(" [-d dbname] [-h host] [-p port] [-U username]\n"));
148+
printf(_(" [--master-db=db_name] [--master-host=host_name]\n"));
149+
printf(_(" [--master-port=port] [--master-user=user_name]\n"));
150+
printf(_(" [--replica-timeout=timeout]\n"));
148151

149152
printf(_(" -B, --backup-path=backup-path location of the backup storage area\n"));
150153
printf(_(" -b, --backup-mode=backup-mode backup mode=FULL|PAGE|PTRACK\n"));
151154
printf(_(" --instance=instance_name name of the instance\n"));
152-
printf(_(" -D, --pgdata=pgdata-dir location of the database storage area\n"));
153155
printf(_(" -C, --smooth-checkpoint do smooth checkpoint before backup\n"));
154156
printf(_(" --stream stream the transaction log and include it in the backup\n"));
155157
printf(_(" --archive-timeout wait timeout for WAL segment archiving\n"));
@@ -177,7 +179,7 @@ help_backup(void)
177179
printf(_(" --master-host=host_name database server host of master\n"));
178180
printf(_(" --master-port=port database server port of master\n"));
179181
printf(_(" --master-user=user_name user name to connect to master\n"));
180-
printf(_(" --replica-timeout=timeout wait timeout for WAL segment streaming through replication\n"));
182+
printf(_(" --replica-timeout=timeout wait timeout for WAL segment streaming through replication in seconds\n"));
181183
}
182184

183185
staticvoid
@@ -262,8 +264,9 @@ help_set_config(void)
262264
printf(_(" [--compress-algorithm=compress-algorithm]\n"));
263265
printf(_(" [--compress-level=compress-level]\n"));
264266
printf(_(" [-d dbname] [-h host] [-p port] [-U username]\n"));
265-
printf(_(" [--master-db] [--master-host] [--master-port] [--master-user]\n"));
266-
printf(_(" [--replica-timeout]\n"));
267+
printf(_(" [--master-db=db_name] [--master-host=host_name]\n"));
268+
printf(_(" [--master-port=port] [--master-user=user_name]\n"));
269+
printf(_(" [--replica-timeout=timeout]\n"));
267270

268271
printf(_(" -B, --backup-path=backup-path location of the backup storage area\n"));
269272
printf(_(" --instance=instance_name name of the instance\n"));
@@ -300,9 +303,9 @@ help_set_config(void)
300303

301304
printf(_("\n Replica options:\n"));
302305
printf(_(" --master-db=db_name database to connect to master\n"));
303-
printf(_(" --master-host=host_name database server host of master\n"));
304-
printf(_(" --master-port=port database server port of master\n"));
305-
printf(_(" --master-user=user_name user name to connect to master\n"));
306+
printf(_(" --master-host=host_name=host_name database server host of master\n"));
307+
printf(_(" --master-port=port=port database server port of master\n"));
308+
printf(_(" --master-user=user_name=user_name user name to connect to master\n"));
306309
printf(_(" --replica-timeout=timeout wait timeout for WAL segment streaming through replication\n"));
307310
}
308311

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp