2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-15 04:20:56 +00:00
git-svn-id: https://svn.fhem.de/fhem/trunk@10809 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2016-02-13 09:51:16 +00:00
parent a0a9d60bf1
commit 66c5e62299

View File

@ -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/</&lt;/g;
$a[1] =~ s/>/&gt;/g;
# $a[1] =~ s/</&lt;/g;
# $a[1] =~ s/>/&gt;/g;
$str .= sprintf("%-15s%-50s\n%s\n", $cmd, $a[0], $a[1]);
}