doc/protocol.xml: update and fix command "list"

This commit is contained in:
Max Kellermann 2014-04-24 08:08:52 +02:00
parent c9aec3e866
commit b4db28fed2

View File

@ -1550,27 +1550,32 @@ OK
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="command_list"> <varlistentry id="command_list">
<term> <term>
<cmdsynopsis> <cmdsynopsis>
<command>list</command> <command>list</command>
<arg choice="req"><replaceable>TYPE</replaceable></arg> <arg choice="req"><replaceable>TYPE</replaceable></arg>
<arg><replaceable>ARTIST</replaceable></arg> <arg choice="opt"><replaceable>FILTERTYPE</replaceable></arg>
<arg choice="opt"><replaceable>FILTERWHAT</replaceable></arg>
<arg choice="opt"><replaceable>...</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
</term> </term>
<listitem> <listitem>
<para> <para>
Lists all tags of the specified type. Lists unique tags values of the specified type.
<varname>TYPE</varname> can be any tag supported by MPD or <varname>TYPE</varname> can be any tag supported by MPD or
<parameter>file</parameter>. <parameter>file</parameter>.
</para> </para>
<para> <para>
<varname>ARTIST</varname> is an optional parameter when Additional arguments may specify a filter like the one
type is album, this specifies to list albums by an in the <link
artist. linkend="command_find"><command>find</command>
command</link>.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="command_listall"> <varlistentry id="command_listall">
<term> <term>
<cmdsynopsis> <cmdsynopsis>