use noArg (not noArgs)

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5915 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2014-05-20 18:41:12 +00:00
parent a41b8d27b5
commit b01e23ba03
2 changed files with 3 additions and 3 deletions

View File

@@ -845,7 +845,7 @@ readingsGroup_Set($@)
{
my ($hash, $name, $cmd, $param, @a) = @_;
my $list = "refresh:noArgs";
my $list = "refresh:noArg";
if( $cmd eq "refresh" ) {
readingsGroup_updateDevices($hash);

View File

@@ -569,7 +569,7 @@ readingsHistory_Set($@)
{
my ($hash, $name, $cmd, $param, @a) = @_;
my $list = "clear:noArgs add";
my $list = "clear:noArg add";
if( $cmd eq "clear" ) {
$hash->{fhem}{history} = [];
@@ -609,7 +609,7 @@ readingsHistory_Get($@)
{
my ($hash, @a) = @_;
my $list = "history:noArgs html:noArgs";
my $list = "history:noArg html:noArg";
my $name = $a[0];
return "$name: get needs at least one parameter" if(@a < 2);