diff options
author | Daniel Gustafsson <dgustafsson@postgresql.org> | 2025-09-24 14:58:18 +0200 |
---|---|---|
committer | Daniel Gustafsson <dgustafsson@postgresql.org> | 2025-09-24 14:58:18 +0200 |
commit | 0fba25eb720a6a20b8f3c9597dd0417a0d20fc94 (patch) | |
tree | 13ddade67ef4d1494d4d4dd343599915e3989b03 | |
parent | 711ccce38f222e9988882493d95f244e2b02744f (diff) |
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 <daniel@yesql.se>
Discussion: https://postgr.es/m/20250729.135638.1148639539103758555.horikyota.ntt@gmail.com
Backpatch-through: 17
-rw-r--r-- | src/backend/utils/activity/generate-wait_event_types.pl | 4 |
1 files changed, 2 insertions, 2 deletions
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 <<EOM; -Usage: perl [--output <path>] [--code ] [ --sgml ] input_file +Usage: perl [--output <path>] [--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 |