From c5cf4ffa610855bff3d175611483a5c61581cd5f Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sat, 3 Aug 2019 11:20:28 +0000 Subject: [PATCH] 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 --- fhem/contrib/commandref_join.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fhem/contrib/commandref_join.pl b/fhem/contrib/commandref_join.pl index b7404cb3c..d084731ef 100755 --- a/fhem/contrib/commandref_join.pl +++ b/fhem/contrib/commandref_join.pl @@ -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 <0 ? "missing":"there are too many")."\n" - if($nrEnd); + if($nrEnd && !$noWarnings); }