Skip to content

Commit

Permalink
gen.pl: change wording for mutexed options
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bagder committed Apr 17, 2022
1 parent 01a1697 commit 53399c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/cmdline-opts/gen.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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 ="";
Expand Down

0 comments on commit 53399c7

Please sign in to comment.