2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-29 11:27:08 +00:00

98_help.pm: fix some commandref issues with html code

git-svn-id: https://svn.fhem.de/fhem/trunk@27491 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2023-04-27 17:22:30 +00:00
parent 829f4e3478
commit 8393e64011

View File

@ -289,20 +289,19 @@ sub cref_findInfo {
=pod =pod
=item command =item command
=item summary show help for module or device =item summary show help for command, module or device
=item summary_DE Hilfe für Module und Geräte
=begin html =begin html
<a name="help"></a> <a name="help"></a>
<h3>?, help</h3> <h3>?, help</h3>
<ul> <ul>
<code>? [&lt;moduleName|deviceName&gt;] [<language>]</code><br/> <code>?&nbsp;&nbsp;&nbsp;&nbsp;[&lt;commandName|moduleName|deviceName&gt;] [&lt;language&gt;]</code><br/>
<code>help [&lt;moduleName|deviceName&gt;] [<language>]</code><br/> <code>help [&lt;commandName|moduleName|deviceName&gt;] [&lt;language&gt;]</code><br/>
<br/> <br/>
<ul> <ul>
<li>Returns a list of available commands, when called without a <li>Returns a list of available commands, when called without a
moduleName/deviceName.</li> moduleName/deviceName.</li>
<li>Returns a module dependent helptext, same as in commandref.</li> <li>Returns a module/command dependent helptext, same as in commandref.</li>
<li>language will be determined in following order: <li>language will be determined in following order:
<ul> <ul>
<li>valid parameter &lt;language&gt; given</li> <li>valid parameter &lt;language&gt; given</li>
@ -315,27 +314,4 @@ sub cref_findInfo {
=end html =end html
=begin html_DE
<a name="help"></a>
<h3>?, help</h3>
<ul>
<code>? [&lt;moduleName|deviceName&gt;] [<language>]</code><br/>
<code>help [&lt;moduleName|deviceName&gt;] [<language>]</code><br/>
<br>
<ul>
<li>Liefert eine Liste aller Befehle mit einer Kurzbeschreibung zur&uuml;ck.</li>
<li>Falls moduleName oder deviceName spezifiziert ist, wird die modul-spezifische Hilfe
aus commandref zur&uuml;ckgeliefert.</li>
<li>Die anzuzeigende Sprache wird in folgender Reihenfolge bestimmt:
<ul>
<li>g&uuml;ltiger Parameter &lt;language&gt; beim Aufruf &uuml;bergeben</li>
<li>globales Attribut language</li>
<li>falls alles fehlt: englisch</li>
</ul>
</li>
</ul>
</ul>
=end html_DE
=cut =cut