From: Daniel Gustafsson Date: Wed, 24 Sep 2025 12:58:18 +0000 (+0200) Subject: Fix incorrect option name in usage screen X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0fba25eb720a6a20b8f3c9597dd0417a0d20fc94;p=thirdparty%2Fpostgresql.git Fix incorrect option name in usage screen The usage screen incorrectly refered to the --docs option as --sgml. Backpatch down to v17 where this script was introduced. Author: Daniel Gustafsson Discussion: https://postgr.es/m/20250729.135638.1148639539103758555.horikyota.ntt@gmail.com Backpatch-through: 17 --- diff --git a/src/backend/utils/activity/generate-wait_event_types.pl b/src/backend/utils/activity/generate-wait_event_types.pl index 21abef860de..5db13419f25 100644 --- a/src/backend/utils/activity/generate-wait_event_types.pl +++ b/src/backend/utils/activity/generate-wait_event_types.pl @@ -334,12 +334,12 @@ close $wait_event_names; sub usage { die <] [--code ] [ --sgml ] input_file +Usage: perl [--output ] [--code ] [ --docs ] input_file Options: --outdir Output directory (default '.') --code Generate C and header files. - --sgml Generate wait_event_types.sgml. + --docs Generate wait_event_types.sgml. generate-wait_event_types.pl generates the SGML documentation and code related to wait events. This should use wait_event_names.txt in input, or