From 7b3542b4fe4edbdab20b9a75391d86096c07aca0 Mon Sep 17 00:00:00 2001 From: Gavin LYU Date: Fri, 16 Jan 2026 13:44:36 +0800 Subject: [PATCH] remove incorrect comment in pg_resetwal.c Remove incorrect comment in main() function of pg_resetwal.c Obviously the comment is wrong as there is no "second %s" at all. It should be a copy-paste error. Author: Gavin LYU --- src/bin/pg_resetwal/pg_resetwal.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/bin/pg_resetwal/pg_resetwal.c b/src/bin/pg_resetwal/pg_resetwal.c index b2c4b9db395..da6717990f4 100644 --- a/src/bin/pg_resetwal/pg_resetwal.c +++ b/src/bin/pg_resetwal/pg_resetwal.c @@ -187,8 +187,6 @@ main(int argc, char *argv[]) next_xid_epoch_val = strtouint32_strict(optarg, &endptr, 0); if (endptr == optarg || *endptr != '\0' || errno != 0) { - /*------ - translator: the second %s is a command line argument (-e, etc) */ pg_log_error("invalid argument for option %s", "-e"); pg_log_error_hint("Try \"%s --help\" for more information.", progname); exit(1); -- 2.43.0