aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cmdline-opts')
-rwxr-xr-xdocs/cmdline-opts/gen.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/cmdline-opts/gen.pl b/docs/cmdline-opts/gen.pl
index 6ecf1b51e..dd990caf0 100755
--- a/docs/cmdline-opts/gen.pl
+++ b/docs/cmdline-opts/gen.pl
@@ -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 ":"";
}