mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
FHEMWEB: noArg additions
git-svn-id: https://svn.fhem.de/fhem/trunk@3733 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ecd17b3c42
commit
923bbefb24
@ -2076,7 +2076,7 @@ FW_Get($@)
|
|||||||
"gplot directory: $FW_gplotdir";
|
"gplot directory: $FW_gplotdir";
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
return "Unknown argument $arg choose one of icon pathlist";
|
return "Unknown argument $arg choose one of icon pathlist:noArg";
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2090,7 +2090,8 @@ FW_Set($@)
|
|||||||
my %cmd = ("rereadicons" => 1, "clearSvgCache" => 1);
|
my %cmd = ("rereadicons" => 1, "clearSvgCache" => 1);
|
||||||
|
|
||||||
return "no set value specified" if(@a < 2);
|
return "no set value specified" if(@a < 2);
|
||||||
return ("Unknown argument $a[1], choose one of ".join(" ", sort keys %cmd))
|
return ("Unknown argument $a[1], choose one of ".
|
||||||
|
join(" ", map { "$_:noArg" } sort keys %cmd))
|
||||||
if(!$cmd{$a[1]});
|
if(!$cmd{$a[1]});
|
||||||
|
|
||||||
if($a[1] eq "rereadicons") {
|
if($a[1] eq "rereadicons") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user