Fix redundancy in error messages

pg_log_error() already prints the program name, so we don't need to
print it again inside the message.
This commit is contained in:
Peter Eisentraut 2024-06-20 11:17:21 +02:00
parent 95b44bb025
commit 16a3415440
2 changed files with 2 additions and 2 deletions

View file

@ -212,7 +212,7 @@ main(int argc, char *argv[])
if (optind >= argc)
{
pg_log_error("%s: no input directories specified", progname);
pg_log_error("no input directories specified");
pg_log_error_hint("Try \"%s --help\" for more information.", progname);
exit(1);
}

View file

@ -91,7 +91,7 @@ main(int argc, char *argv[])
if (optind >= argc)
{
pg_log_error("%s: no input files specified", progname);
pg_log_error("no input files specified");
pg_log_error_hint("Try \"%s --help\" for more information.", progname);
exit(1);
}