diff --git a/fhem/FHEM/98_help.pm b/fhem/FHEM/98_help.pm index f73461289..184771387 100644 --- a/fhem/FHEM/98_help.pm +++ b/fhem/FHEM/98_help.pm @@ -85,6 +85,18 @@ sub CommandHelp { } + my $url_prefix; + + if(AttrVal('global','exclude_from_update','') =~ m/commandref/) { + $url_prefix = "http://fhem.de/commandref$lang.html"; + } else { + $url_prefix = "$FW_ME/docs/commandref$lang.html"; + } + + # replace tags with a + # working real link to commandref + $output =~ s,