mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-15 04:20:56 +00:00
98_help.pm: bugfixes http://forum.fhem.de/index.php/topic,49232
git-svn-id: https://svn.fhem.de/fhem/trunk@10809 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a0a9d60bf1
commit
66c5e62299
@ -133,6 +133,7 @@ sub CommandHelp {
|
||||
"----------------------------------------------------------------------\n";
|
||||
|
||||
for my $cmd (sort keys %cmds) {
|
||||
next if($cmd =~ m/header:command/);
|
||||
next if(!$cmds{$cmd}{Hlp});
|
||||
next if($cl && $cmds{$cmd}{ClientFilter} &&
|
||||
$cl->{TYPE} !~ m/$cmds{$cmd}{ClientFilter}/);
|
||||
@ -141,8 +142,8 @@ sub CommandHelp {
|
||||
# $a[0] =~ s/>/>/g;
|
||||
$a[1] //= "";
|
||||
$a[1] = " $a[1]";
|
||||
$a[1] =~ s/</</g;
|
||||
$a[1] =~ s/>/>/g;
|
||||
# $a[1] =~ s/</</g;
|
||||
# $a[1] =~ s/>/>/g;
|
||||
$str .= sprintf("%-15s%-50s\n%s\n", $cmd, $a[0], $a[1]);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user