From 0dd4274aa2f93fdeb04896bbe75baf81021bc618 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/fhem@19942 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- contrib/commandref_join.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/contrib/commandref_join.pl b/contrib/commandref_join.pl index b7404cb3c..d084731ef 100755 --- a/contrib/commandref_join.pl +++ b/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); }