Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2fd3457

Browse files
committed
Fix help: --remote-proto default value is ssh
1 parent 6a64e56 commit 2fd3457

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/help.c

+6-6
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ help_backup(void)
313313

314314
printf(_("\n Remote options:\n"));
315315
printf(_(" --remote-proto=protocol remote protocol to use\n"));
316-
printf(_(" available options: 'ssh', 'none' (default: none)\n"));
316+
printf(_(" available options: 'ssh', 'none' (default: ssh)\n"));
317317
printf(_(" --remote-host=hostname remote host address or hostname\n"));
318318
printf(_(" --remote-port=port remote host port (default: 22)\n"));
319319
printf(_(" --remote-path=path path to directory with pg_probackup binary on remote host\n"));
@@ -407,7 +407,7 @@ help_restore(void)
407407

408408
printf(_("\n Remote options:\n"));
409409
printf(_(" --remote-proto=protocol remote protocol to use\n"));
410-
printf(_(" available options: 'ssh', 'none' (default: none)\n"));
410+
printf(_(" available options: 'ssh', 'none' (default: ssh)\n"));
411411
printf(_(" --remote-host=hostname remote host address or hostname\n"));
412412
printf(_(" --remote-port=port remote host port (default: 22)\n"));
413413
printf(_(" --remote-path=path path to directory with pg_probackup binary on remote host\n"));
@@ -689,7 +689,7 @@ help_set_config(void)
689689

690690
printf(_("\n Remote options:\n"));
691691
printf(_(" --remote-proto=protocol remote protocol to use\n"));
692-
printf(_(" available options: 'ssh', 'none' (default: none)\n"));
692+
printf(_(" available options: 'ssh', 'none' (default: ssh)\n"));
693693
printf(_(" --remote-host=hostname remote host address or hostname\n"));
694694
printf(_(" --remote-port=port remote host port (default: 22)\n"));
695695
printf(_(" --remote-path=path path to directory with pg_probackup binary on remote host\n"));
@@ -736,7 +736,7 @@ help_add_instance(void)
736736
printf(_(" (example: --external-dirs=/tmp/dir1:/tmp/dir2)\n"));
737737
printf(_("\n Remote options:\n"));
738738
printf(_(" --remote-proto=protocol remote protocol to use\n"));
739-
printf(_(" available options: 'ssh', 'none' (default: none)\n"));
739+
printf(_(" available options: 'ssh', 'none' (default: ssh)\n"));
740740
printf(_(" --remote-host=hostname remote host address or hostname\n"));
741741
printf(_(" --remote-port=port remote host port (default: 22)\n"));
742742
printf(_(" --remote-path=path path to directory with pg_probackup binary on remote host\n"));
@@ -786,7 +786,7 @@ help_archive_push(void)
786786

787787
printf(_("\n Remote options:\n"));
788788
printf(_(" --remote-proto=protocol remote protocol to use\n"));
789-
printf(_(" available options: 'ssh', 'none' (default: none)\n"));
789+
printf(_(" available options: 'ssh', 'none' (default: ssh)\n"));
790790
printf(_(" --remote-host=hostname remote host address or hostname\n"));
791791
printf(_(" --remote-port=port remote host port (default: 22)\n"));
792792
printf(_(" --remote-path=path path to directory with pg_probackup binary on remote host\n"));
@@ -815,7 +815,7 @@ help_archive_get(void)
815815

816816
printf(_("\n Remote options:\n"));
817817
printf(_(" --remote-proto=protocol remote protocol to use\n"));
818-
printf(_(" available options: 'ssh', 'none' (default: none)\n"));
818+
printf(_(" available options: 'ssh', 'none' (default: ssh)\n"));
819819
printf(_(" --remote-host=hostname remote host address or hostname\n"));
820820
printf(_(" --remote-port=port remote host port (default: 22)\n"));
821821
printf(_(" --remote-path=path path to directory with pg_probackup binary on remote host\n"));

0 commit comments

Comments
 (0)