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:
parent
95b44bb025
commit
16a3415440
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user