mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
commandref_join.pl: skip some warnings with -noWarnings (Forum #102749)
git-svn-id: https://svn.fhem.de/fhem/trunk@19942 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8af3ae50e0
commit
c5cf4ffa61
@ -204,7 +204,8 @@ generateModuleCommandref($$;$$)
|
||||
if($dosMode);
|
||||
# TODO: add doc to each $jsfile
|
||||
print "*** $lang $fPath: No document text found\n"
|
||||
if(!$jsFile && !$suffix && !$docCount && !$dosMode && $fPath !~ m,/99_,);
|
||||
if(!$jsFile && !$suffix && !$docCount && !$dosMode &&
|
||||
$fPath !~ m,/99_, && !$noWarnings);
|
||||
if(!$jsFile && $suffix && !$docCount && !$dosMode) {
|
||||
if($lang eq "DE" && $fh) {
|
||||
print $fh <<EOF;
|
||||
@ -227,5 +228,5 @@ EOF
|
||||
}
|
||||
|
||||
print "*** $lang $fPath: =end html$suffix: ".($nrEnd>0 ? "missing":"there are too many")."\n"
|
||||
if($nrEnd);
|
||||
if($nrEnd && !$noWarnings);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user