aboutsummaryrefslogtreecommitdiffstats
path: root/doc/protocol.xml
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-18 01:24:49 +0200
committerMax Kellermann <max@duempel.org>2009-10-18 01:24:49 +0200
commitd69e0ab53a4f856f2b20fd58ff7ae141984fecbd (patch)
treec8570861ea98fdf87255f1bda0f565c81c453e44 /doc/protocol.xml
parente7c267db4fb7d7e48b0dbdcfb39ef21724070033 (diff)
downloadmpd-d69e0ab53a4f856f2b20fd58ff7ae141984fecbd.tar.gz
mpd-d69e0ab53a4f856f2b20fd58ff7ae141984fecbd.tar.xz
mpd-d69e0ab53a4f856f2b20fd58ff7ae141984fecbd.zip
command: omitting the range end is possible
When the range end is missing, then the maximum possible value is assumed.
Diffstat (limited to '')
-rw-r--r--doc/protocol.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/protocol.xml b/doc/protocol.xml
index 3db128b18..eb48185e9 100644
--- a/doc/protocol.xml
+++ b/doc/protocol.xml
@@ -67,6 +67,20 @@
successful command executed in the command list.
</para>
</section>
+
+ <section>
+ <title>Ranges</title>
+
+ <para>
+ Some commands (e.g. <link
+ linkend="command_delete"><command>delete</command></link>)
+ allow specifying a range in the form
+ <parameter>START:END</parameter> (the <varname>END</varname>
+ item is not included in the range, similar to ranges in the
+ Python programming language). If <varname>END</varname> is
+ omitted, then the maximum possible value is assumed.
+ </para>
+ </section>
</chapter>
<chapter>