mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
98_help.pm: use commandref instead frames
git-svn-id: https://svn.fhem.de/fhem/trunk@8047 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
4804dda5d4
commit
71a1d30444
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user