From 8ae85f3991936bc9538e354cfe763f58ccc20d94 Mon Sep 17 00:00:00 2001 From: Max Kellermann <max@musicpd.org> Date: Thu, 14 Oct 2021 15:35:22 +0200 Subject: [PATCH] doc/protocol.rst: move POSITION from "search" to "findadd" Whoops, I misplaced this one. --- doc/protocol.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/protocol.rst b/doc/protocol.rst index df11350a7..b2be7c6d0 100644 --- a/doc/protocol.rst +++ b/doc/protocol.rst @@ -1059,11 +1059,11 @@ The music database .. _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 ``FILTER`` (see :ref:`Filters <filter_syntax>`) and add them to the queue. Parameters have the same meaning as for - :ref:`find <command_find>`. + :ref:`find <command_find>` and :ref:`searchadd <command_searchadd>`. .. _command_list: @@ -1196,15 +1196,12 @@ The music database .. _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 ``FILTER`` (see :ref:`Filters <filter_syntax>`). Parameters have the same meaning as for :ref:`find <command_find>`, except that search is not case sensitive. - The ``position`` parameter specifies where the songs will be - inserted. - .. _command_searchadd: :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>`. + The ``position`` parameter specifies where the songs will be + inserted. + .. _command_searchaddpl: :command:`searchaddpl {NAME} {FILTER} [sort {TYPE}] [window {START:END}]`