From 53399c72ff6eaded7caf68bb98c89db5110ebb5f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 17 Apr 2022 11:21:15 +0200 Subject: [PATCH] gen.pl: change wording for mutexed options Instead of saying "This option overrides NNN", now say "This option is mutually exclusive to NNN" in the generated man page ouput, as the option does not in all cases actually override the others but they are always mutually exclusive. Ref: #8704 Closes #8716 --- docs/cmdline-opts/gen.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/cmdline-opts/gen.pl b/docs/cmdline-opts/gen.pl index 296096a04a..2418526cfe 100755 --- a/docs/cmdline-opts/gen.pl +++ b/docs/cmdline-opts/gen.pl @@ -349,7 +349,8 @@ sub single { my $l = manpageify($k); $mstr .= sprintf "%s$l", $mstr?" and ":""; } - push @foot, overrides($standalone, "This option overrides $mstr. "); + push @foot, overrides($standalone, + "This option is mutually exclusive to $mstr. "); } if($examples[0]) { my $s ="";