98_help.pm: use commandref instead frames

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@8047 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen
2015-02-20 18:13:18 +00:00
parent a4095c1324
commit 2692b38450

View File

@@ -61,13 +61,13 @@ sub CommandHelp {
$output = '';
my $i;
my $f = "$modPath/docs/commandref_frame$lang.html";
my $f = "$modPath/docs/commandref$lang.html";
my $skip = 1;
my ($err,@text) = FileRead({FileName => $f, ForceType => 'file'});
return $err if $err;
foreach my $l (@text) {
if($l =~ m/name=\"$mod\"/) {
if($l =~ m/^<a name=\"$mod\"/) {
$skip = 0;
} elsif($l =~ m/^<!-- $mod.end/) {
$skip = 1;