Skip to content

Commit c81c54b

Browse files
committed
Add --start-time option into help message
1 parent 3c74ebf commit c81c54b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/help.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ help_pg_probackup(void)
150150
printf(_(" [--remote-port] [--remote-path] [--remote-user]\n"));
151151
printf(_(" [--ssh-options]\n"));
152152
printf(_(" [--ttl=interval] [--expire-time=timestamp] [--note=text]\n"));
153+
printf(_(" [--start-time]\n"));
153154
printf(_(" [--help]\n"));
154155

155156

@@ -323,6 +324,7 @@ help_backup(void)
323324
printf(_(" [--remote-port] [--remote-path] [--remote-user]\n"));
324325
printf(_(" [--ssh-options]\n"));
325326
printf(_(" [--ttl=interval] [--expire-time=timestamp] [--note=text]\n\n"));
327+
printf(_(" [--start-time]\n"));
326328

327329
printf(_(" -B, --backup-path=backup-path location of the backup storage area\n"));
328330
printf(_(" -b, --backup-mode=backup-mode backup mode=FULL|PAGE|DELTA|PTRACK\n"));
@@ -343,6 +345,7 @@ help_backup(void)
343345
printf(_(" --no-sync do not sync backed up files to disk\n"));
344346
printf(_(" --note=text add note to backup\n"));
345347
printf(_(" (example: --note='backup before app update to v13.1')\n"));
348+
printf(_(" --start-time set time of starting backup as a parameter for naming backup\n"));
346349

347350
printf(_("\n Logging options:\n"));
348351
printf(_(" --log-level-console=log-level-console\n"));

tests/expected/option_help.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ pg_probackup - utility to manage backup/recovery of PostgreSQL database.
6868
[--remote-port] [--remote-path] [--remote-user]
6969
[--ssh-options]
7070
[--ttl=interval] [--expire-time=timestamp] [--note=text]
71+
[--start-time]
7172
[--help]
7273

7374
pg_probackup restore -B backup-path --instance=instance_name

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy