2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-16 04:36:02 +00:00

holiday: get argument fixes for FHEMWEB detail view

git-svn-id: https://svn.fhem.de/fhem/trunk@5334 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-03-26 23:14:05 +00:00
parent 9f999072be
commit 90f955d0f3

View File

@ -196,6 +196,7 @@ holiday_Get($@)
{
my ($hash, @a) = @_;
shift(@a) if($a[1] && $a[1] eq "MM-DD");
return "argument is missing" if(int(@a) != 2);
my $arg;
@ -211,7 +212,7 @@ holiday_Get($@)
} else {
return "unknown argument $a[1], ".
"choose one of yesterday today tomorrow MM-DD";
"choose one of yesterday:noArg today:noArg tomorrow:noArg MM-DD";
}
return holiday_refresh($hash->{NAME}, $arg);