@@ -310,6 +310,7 @@ help_backup(void)
310
310
printf (_ (" (example: --note='backup before app update to v13.1')\n" ));
311
311
312
312
printf (_ ("\n Logging options:\n" ));
313
+ printf (_ (" --color color the error and warning console messages\n" ));
313
314
printf (_ (" --log-level-console=log-level-console\n" ));
314
315
printf (_ (" level for console logging (default: info)\n" ));
315
316
printf (_ (" available options: 'off', 'error', 'warning', 'info', 'log', 'verbose'\n" ));
@@ -470,6 +471,7 @@ help_restore(void)
470
471
printf (_ (" -S, --primary-slot-name=slotname replication slot to be used for WAL streaming from the primary server\n" ));
471
472
472
473
printf (_ ("\n Logging options:\n" ));
474
+ printf (_ (" --color color the error and warning console messages\n" ));
473
475
printf (_ (" --log-level-console=log-level-console\n" ));
474
476
printf (_ (" level for console logging (default: info)\n" ));
475
477
printf (_ (" available options: 'off', 'error', 'warning', 'info', 'log', 'verbose'\n" ));
@@ -536,6 +538,7 @@ help_validate(void)
536
538
printf (_ (" --skip-block-validation set to validate only file-level checksum\n" ));
537
539
538
540
printf (_ ("\n Logging options:\n" ));
541
+ printf (_ (" --color color the error and warning console messages\n" ));
539
542
printf (_ (" --log-level-console=log-level-console\n" ));
540
543
printf (_ (" level for console logging (default: info)\n" ));
541
544
printf (_ (" available options: 'off', 'error', 'warning', 'info', 'log', 'verbose'\n" ));
@@ -580,6 +583,7 @@ help_checkdb(void)
580
583
printf (_ (" can be used only with '--amcheck' option\n" ));
581
584
582
585
printf (_ ("\n Logging options:\n" ));
586
+ printf (_ (" --color color the error and warning console messages\n" ));
583
587
printf (_ (" --log-level-console=log-level-console\n" ));
584
588
printf (_ (" level for console logging (default: info)\n" ));
585
589
printf (_ (" available options: 'off', 'error', 'warning', 'info', 'log', 'verbose'\n" ));
@@ -620,7 +624,8 @@ help_show(void)
620
624
printf (_ (" --instance=instance_name show info about specific instance\n" ));
621
625
printf (_ (" -i, --backup-id=backup-id show info about specific backups\n" ));
622
626
printf (_ (" --archive show WAL archive information\n" ));
623
- printf (_ (" --format=format show format=PLAIN|JSON\n\n" ));
627
+ printf (_ (" --format=format show format=PLAIN|JSON\n" ));
628
+ printf (_ (" --color color the info for plain format\n\n" ));
624
629
}
625
630
626
631
static void
@@ -655,6 +660,7 @@ help_delete(void)
655
660
printf (_ (" --status=backup_status delete all backups with specified status\n" ));
656
661
657
662
printf (_ ("\n Logging options:\n" ));
663
+ printf (_ (" --color color the error and warning console messages\n" ));
658
664
printf (_ (" --log-level-console=log-level-console\n" ));
659
665
printf (_ (" level for console logging (default: info)\n" ));
660
666
printf (_ (" available options: 'off', 'error', 'warning', 'info', 'log', 'verbose'\n" ));
@@ -697,6 +703,7 @@ help_merge(void)
697
703
printf (_ (" --progress show progress\n" ));
698
704
699
705
printf (_ ("\n Logging options:\n" ));
706
+ printf (_ (" --color color the error and warning console messages\n" ));
700
707
printf (_ (" --log-level-console=log-level-console\n" ));
701
708
printf (_ (" level for console logging (default: info)\n" ));
702
709
printf (_ (" available options: 'off', 'error', 'warning', 'info', 'log', 'verbose'\n" ));
0 commit comments