mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +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";
|
||||
|
||||
} else {
|
||||
return "Unknown argument $arg choose one of icon pathlist";
|
||||
return "Unknown argument $arg choose one of icon pathlist:noArg";
|
||||
|
||||
}
|
||||
}
|
||||
@ -2090,8 +2090,9 @@ FW_Set($@)
|
||||
my %cmd = ("rereadicons" => 1, "clearSvgCache" => 1);
|
||||
|
||||
return "no set value specified" if(@a < 2);
|
||||
return ("Unknown argument $a[1], choose one of ".join(" ", sort keys %cmd))
|
||||
if(!$cmd{$a[1]});
|
||||
return ("Unknown argument $a[1], choose one of ".
|
||||
join(" ", map { "$_:noArg" } sort keys %cmd))
|
||||
if(!$cmd{$a[1]});
|
||||
|
||||
if($a[1] eq "rereadicons") {
|
||||
my @dirs = keys %FW_icons;
|
||||
|
Loading…
x
Reference in New Issue
Block a user