mirror of
https://github.com/moparisthebest/curl
synced 2024-11-16 06:25:03 -05:00
cmdline-opts/gen.pl: warn if mutexes: or see-also: list non-existing options
This commit is contained in:
parent
7c189c6608
commit
06a72880d6
@ -202,6 +202,9 @@ sub single {
|
||||
my @m=split(/ /, $seealso);
|
||||
my $mstr;
|
||||
for my $k (@m) {
|
||||
if(!$helplong{$k}) {
|
||||
print STDERR "WARN: $f see-alsos a non-existing option: $k\n";
|
||||
}
|
||||
my $l = manpageify($k);
|
||||
$mstr .= sprintf "%s$l", $mstr?" and ":"";
|
||||
}
|
||||
@ -216,6 +219,9 @@ sub single {
|
||||
my @m=split(/ /, $mutexed);
|
||||
my $mstr;
|
||||
for my $k (@m) {
|
||||
if(!$helplong{$k}) {
|
||||
print STDERR "WARN: $f mutexes a non-existing option: $k\n";
|
||||
}
|
||||
my $l = manpageify($k);
|
||||
$mstr .= sprintf "%s$l", $mstr?" and ":"";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user