summaryrefslogtreecommitdiff
path: root/src/command/AllCommands.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-02-20 12:37:14 +0100
committerMax Kellermann <max@musicpd.org>2017-02-25 10:26:33 +0100
commite9e853b19ab8989c639e7f431ede7a377a427579 (patch)
treee29bb7457aa9fd4bd9a571a7972f3b324afd3d8f /src/command/AllCommands.cxx
parente48ea5f23a6a1601e8eeb6d0594f8f0d89f47fdb (diff)
command/Partition: add command "partition" to switch to another partition
Diffstat (limited to 'src/command/AllCommands.cxx')
-rw-r--r--src/command/AllCommands.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command/AllCommands.cxx b/src/command/AllCommands.cxx
index 43dbaa691..ef4d34ded 100644
--- a/src/command/AllCommands.cxx
+++ b/src/command/AllCommands.cxx
@@ -137,6 +137,7 @@ static constexpr struct command commands[] = {
{ "next", PERMISSION_CONTROL, 0, 0, handle_next },
{ "notcommands", PERMISSION_NONE, 0, 0, handle_not_commands },
{ "outputs", PERMISSION_READ, 0, 0, handle_devices },
+ { "partition", PERMISSION_READ, 1, 1, handle_partition },
{ "password", PERMISSION_NONE, 1, 1, handle_password },
{ "pause", PERMISSION_CONTROL, 0, 1, handle_pause },
{ "ping", PERMISSION_NONE, 0, 0, handle_ping },