Skip to content

Commit 26b8051

Browse files
committed
correct help.c
1 parent 753d942 commit 26b8051

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

help.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ help_pg_probackup(void)
6363

6464
printf(_("\n %s version\n"), PROGRAM_NAME);
6565

66-
printf(_("\n %s init -B backup-path -D pgdata-dir\n"), PROGRAM_NAME);
66+
printf(_("\n %s init -B backup-path\n"), PROGRAM_NAME);
6767

6868
printf(_("\n %s set-config -B backup-dir --instance=instance_name\n"), PROGRAM_NAME);
6969
printf(_(" [--log-level=log-level]\n"));
@@ -110,7 +110,7 @@ help_pg_probackup(void)
110110
printf(_("\n %s delete -B backup-dir --instance=instance_name\n"), PROGRAM_NAME);
111111
printf(_(" [--wal] [-i backup-id | --expired]\n"));
112112

113-
printf(_("\n %s add-instance -B backup-dir\n"), PROGRAM_NAME);
113+
printf(_("\n %s add-instance -B backup-dir -D pgdata-dir\n"), PROGRAM_NAME);
114114
printf(_(" --instance=instance_name\n"));
115115

116116
printf(_("\n %s del-instance -B backup-dir\n"), PROGRAM_NAME);
@@ -132,7 +132,6 @@ help_init(void)
132132
{
133133
printf(_("%s init -B backup-path -D pgdata-dir\n\n"), PROGRAM_NAME);
134134
printf(_(" -B, --backup-path=backup-path location of the backup storage area\n"));
135-
printf(_(" -D, --pgdata=pgdata-dir location of the database storage area\n"));
136135
}
137136

138137
static void
@@ -321,10 +320,11 @@ help_show_config(void)
321320
static void
322321
help_add_instance(void)
323322
{
324-
printf(_("%s add-instance -B backup-dir\n"), PROGRAM_NAME);
323+
printf(_("%s add-instance -B backup-dir -D pgdata-dir\n"), PROGRAM_NAME);
325324
printf(_(" --instance=instance_name\n\n"));
326325

327326
printf(_(" -B, --backup-path=backup-path location of the backup storage area\n"));
327+
printf(_(" -D, --pgdata=pgdata-dir location of the database storage area\n"));
328328
printf(_(" --instance=instance_name name of the new instance\n"));
329329
}
330330

0 commit comments

Comments
 (0)