doc/protocol.rst: move POSITION from "search" to "findadd"

Whoops, I misplaced this one.
This commit is contained in:
Max Kellermann 2021-10-14 15:35:22 +02:00
parent 781fe4ff28
commit 8ae85f3991

View File

@ -1059,11 +1059,11 @@ The music database
.. _command_findadd: .. _command_findadd:
:command:`findadd {FILTER} [sort {TYPE}] [window {START:END}]` :command:`findadd {FILTER} [sort {TYPE}] [window {START:END}] [position POS]`
Search the database for songs matching Search the database for songs matching
``FILTER`` (see :ref:`Filters <filter_syntax>`) and add them to ``FILTER`` (see :ref:`Filters <filter_syntax>`) and add them to
the queue. Parameters have the same meaning as for the queue. Parameters have the same meaning as for
:ref:`find <command_find>`. :ref:`find <command_find>` and :ref:`searchadd <command_searchadd>`.
.. _command_list: .. _command_list:
@ -1196,15 +1196,12 @@ The music database
.. _command_search: .. _command_search:
:command:`search {FILTER} [sort {TYPE}] [window {START:END}] [position POS]` :command:`search {FILTER} [sort {TYPE}] [window {START:END}]
Search the database for songs matching Search the database for songs matching
``FILTER`` (see :ref:`Filters <filter_syntax>`). Parameters ``FILTER`` (see :ref:`Filters <filter_syntax>`). Parameters
have the same meaning as for :ref:`find <command_find>`, have the same meaning as for :ref:`find <command_find>`,
except that search is not case sensitive. except that search is not case sensitive.
The ``position`` parameter specifies where the songs will be
inserted.
.. _command_searchadd: .. _command_searchadd:
:command:`searchadd {FILTER} [sort {TYPE}] [window {START:END}] [position POS]` :command:`searchadd {FILTER} [sort {TYPE}] [window {START:END}] [position POS]`
@ -1214,6 +1211,9 @@ The music database
Parameters have the same meaning as for :ref:`search <command_search>`. Parameters have the same meaning as for :ref:`search <command_search>`.
The ``position`` parameter specifies where the songs will be
inserted.
.. _command_searchaddpl: .. _command_searchaddpl:
:command:`searchaddpl {NAME} {FILTER} [sort {TYPE}] [window {START:END}]` :command:`searchaddpl {NAME} {FILTER} [sort {TYPE}] [window {START:END}]`