]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
gen.pl: change wording for mutexed options
authorDaniel Stenberg <daniel@haxx.se>
Sun, 17 Apr 2022 09:21:15 +0000 (11:21 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 17 Apr 2022 09:21:16 +0000 (11:21 +0200)
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

index 296096a04ae2727c7033c071f62730d5eb0a99b7..2418526cfee711b38719f9a9626c670d016cce0a 100755 (executable)
@@ -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 ="";