98_help.pm: Problem when called with ?
Forum:34645 Bug:5 git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@8148 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# $Id: 98_help.pm 8133 2015-03-02 14:31:53Z betateilchen $
|
# $Id$
|
||||||
#
|
#
|
||||||
package main;
|
package main;
|
||||||
use strict;
|
use strict;
|
||||||
@@ -26,6 +26,8 @@ sub CommandHelp {
|
|||||||
$lang //= AttrVal('global','language','en');
|
$lang //= AttrVal('global','language','en');
|
||||||
$lang = (lc($lang) eq 'de') ? '_DE' : '';
|
$lang = (lc($lang) eq 'de') ? '_DE' : '';
|
||||||
|
|
||||||
|
$mod =~ s/\?/help/;
|
||||||
|
|
||||||
if($mod) {
|
if($mod) {
|
||||||
|
|
||||||
my $internals = "attributes,command,commands,devspec,global,perl";
|
my $internals = "attributes,command,commands,devspec,global,perl";
|
||||||
|
|||||||
Reference in New Issue
Block a user