@@ -310,6 +310,7 @@ help_backup(void)
310310 printf (_ (" (example: --note='backup before app update to v13.1')\n" ));
311311
312312 printf (_ ("\n Logging options:\n" ));
313+ printf (_ (" --color color the error and warning console messages\n" ));
313314 printf (_ (" --log-level-console=log-level-console\n" ));
314315 printf (_ (" level for console logging (default: info)\n" ));
315316 printf (_ (" available options: 'off', 'error', 'warning', 'info', 'log', 'verbose'\n" ));
@@ -470,6 +471,7 @@ help_restore(void)
470471 printf (_ (" -S, --primary-slot-name=slotname replication slot to be used for WAL streaming from the primary server\n" ));
471472
472473 printf (_ ("\n Logging options:\n" ));
474+ printf (_ (" --color color the error and warning console messages\n" ));
473475 printf (_ (" --log-level-console=log-level-console\n" ));
474476 printf (_ (" level for console logging (default: info)\n" ));
475477 printf (_ (" available options: 'off', 'error', 'warning', 'info', 'log', 'verbose'\n" ));
@@ -536,6 +538,7 @@ help_validate(void)
536538 printf (_ (" --skip-block-validation set to validate only file-level checksum\n" ));
537539
538540 printf (_ ("\n Logging options:\n" ));
541+ printf (_ (" --color color the error and warning console messages\n" ));
539542 printf (_ (" --log-level-console=log-level-console\n" ));
540543 printf (_ (" level for console logging (default: info)\n" ));
541544 printf (_ (" available options: 'off', 'error', 'warning', 'info', 'log', 'verbose'\n" ));
@@ -580,6 +583,7 @@ help_checkdb(void)
580583 printf (_ (" can be used only with '--amcheck' option\n" ));
581584
582585 printf (_ ("\n Logging options:\n" ));
586+ printf (_ (" --color color the error and warning console messages\n" ));
583587 printf (_ (" --log-level-console=log-level-console\n" ));
584588 printf (_ (" level for console logging (default: info)\n" ));
585589 printf (_ (" available options: 'off', 'error', 'warning', 'info', 'log', 'verbose'\n" ));
@@ -620,7 +624,8 @@ help_show(void)
620624 printf (_ (" --instance=instance_name show info about specific instance\n" ));
621625 printf (_ (" -i, --backup-id=backup-id show info about specific backups\n" ));
622626 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" ));
624629}
625630
626631static void
@@ -655,6 +660,7 @@ help_delete(void)
655660 printf (_ (" --status=backup_status delete all backups with specified status\n" ));
656661
657662 printf (_ ("\n Logging options:\n" ));
663+ printf (_ (" --color color the error and warning console messages\n" ));
658664 printf (_ (" --log-level-console=log-level-console\n" ));
659665 printf (_ (" level for console logging (default: info)\n" ));
660666 printf (_ (" available options: 'off', 'error', 'warning', 'info', 'log', 'verbose'\n" ));
@@ -697,6 +703,7 @@ help_merge(void)
697703 printf (_ (" --progress show progress\n" ));
698704
699705 printf (_ ("\n Logging options:\n" ));
706+ printf (_ (" --color color the error and warning console messages\n" ));
700707 printf (_ (" --log-level-console=log-level-console\n" ));
701708 printf (_ (" level for console logging (default: info)\n" ));
702709 printf (_ (" available options: 'off', 'error', 'warning', 'info', 'log', 'verbose'\n" ));
0 commit comments