Skip to content

Commit 040b5a6

Browse files
committed
minor fixes for restore help
1 parent 41d4013 commit 040b5a6

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/help.c

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -153,15 +153,15 @@ help_pg_probackup(void)
153153
printf(_(" [--recovery-target=immediate|latest]\n"));
154154
printf(_(" [--recovery-target-name=target-name]\n"));
155155
printf(_(" [--recovery-target-action=pause|promote|shutdown]\n"));
156-
printf(_(" [--restore-as-replica] [--force]\n"));
156+
printf(_(" [--restore-command=cmdline]\n"));
157+
printf(_(" [-R | --restore-as-replica] [--force]\n"));
157158
printf(_(" [--primary-conninfo=primary_conninfo]\n"));
158159
printf(_(" [-S | --primary-slot-name=slotname]\n"));
159160
printf(_(" [--no-validate] [--skip-block-validation]\n"));
160161
printf(_(" [-T OLDDIR=NEWDIR] [--progress]\n"));
161162
printf(_(" [--external-mapping=OLDDIR=NEWDIR]\n"));
162-
printf(_(" [--skip-external-dirs] [--restore-command=cmdline]\n"));
163-
printf(_(" [--incremental-mode=none|checksum|lsn]\n"));
164-
printf(_(" [--no-sync]\n"));
163+
printf(_(" [--skip-external-dirs] [--no-sync]\n"));
164+
printf(_(" [-I | --incremental-mode=none|checksum|lsn]\n"));
165165
printf(_(" [--db-include | --db-exclude]\n"));
166166
printf(_(" [--remote-proto] [--remote-host]\n"));
167167
printf(_(" [--remote-port] [--remote-path] [--remote-user]\n"));
@@ -398,7 +398,7 @@ help_restore(void)
398398
printf(_(" [-T OLDDIR=NEWDIR]\n"));
399399
printf(_(" [--external-mapping=OLDDIR=NEWDIR]\n"));
400400
printf(_(" [--skip-external-dirs]\n"));
401-
printf(_(" [--incremental-mode=none|checksum|lsn]\n"));
401+
printf(_(" [-I | --incremental-mode=none|checksum|lsn]\n"));
402402
printf(_(" [--db-include dbname | --db-exclude dbname]\n"));
403403
printf(_(" [--recovery-target-time=time|--recovery-target-xid=xid\n"));
404404
printf(_(" |--recovery-target-lsn=lsn [--recovery-target-inclusive=boolean]]\n"));
@@ -408,6 +408,8 @@ help_restore(void)
408408
printf(_(" [--recovery-target-action=pause|promote|shutdown]\n"));
409409
printf(_(" [--restore-command=cmdline]\n"));
410410
printf(_(" [-R | --restore-as-replica]\n"));
411+
printf(_(" [--primary-conninfo=primary_conninfo]\n"));
412+
printf(_(" [-S | --primary-slot-name=slotname]\n"));
411413
printf(_(" [--remote-proto] [--remote-host]\n"));
412414
printf(_(" [--remote-port] [--remote-path] [--remote-user]\n"));
413415
printf(_(" [--ssh-options]\n"));

0 commit comments

Comments
 (0)