From: Daniel Stenberg Date: Sun, 17 Apr 2022 09:21:15 +0000 (+0200) Subject: gen.pl: change wording for mutexed options X-Git-Tag: curl-7_83_0~44 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=53399c72ff6eaded7caf68bb98c89db5110ebb5f;p=thirdparty%2Fcurl.git 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 --- 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 ="";