diff options
author | Jan Kaluza <jkaluza@redhat.com> | 2016-03-06 16:50:05 +0300 |
---|---|---|
committer | Jan Kaluza <jkaluza@redhat.com> | 2016-03-06 16:50:05 +0300 |
commit | 6e1af765cdc057b6d227e5cfaaa16c84c7dabb59 (patch) | |
tree | 29362195134c09cf2896d683cde228cfaa847aac /spectrum | |
parent | 84ea5f32492123f932826a0f9e4c5444934af1e0 (diff) |
AdminInterface: Support labels for commands
Diffstat (limited to 'spectrum')
-rw-r--r-- | spectrum/src/frontends/slack/SlackUserManager.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/spectrum/src/frontends/slack/SlackUserManager.cpp b/spectrum/src/frontends/slack/SlackUserManager.cpp index fbe2802f..22298bad 100644 --- a/spectrum/src/frontends/slack/SlackUserManager.cpp +++ b/spectrum/src/frontends/slack/SlackUserManager.cpp @@ -49,7 +49,8 @@ class ListRoomsCommand : public AdminInterfaceCommand { AdminInterfaceCommand::Frontend, AdminInterfaceCommand::UserContext, AdminInterfaceCommand::UserMode, - AdminInterfaceCommand::Execute) { + AdminInterfaceCommand::Execute, + "List joined 3rd-party network rooms") { m_storageBackend = storageBackend; setDescription("List connected rooms"); } @@ -81,7 +82,8 @@ class JoinRoomCommand : public AdminInterfaceCommand { AdminInterfaceCommand::Frontend, AdminInterfaceCommand::UserContext, AdminInterfaceCommand::UserMode, - AdminInterfaceCommand::Execute) { + AdminInterfaceCommand::Execute, + "Join 3rd-party network room") { m_storageBackend = storageBackend; setDescription("Join the room"); @@ -140,7 +142,8 @@ class LeaveRoomCommand : public AdminInterfaceCommand { AdminInterfaceCommand::Frontend, AdminInterfaceCommand::UserContext, AdminInterfaceCommand::UserMode, - AdminInterfaceCommand::Execute) { + AdminInterfaceCommand::Execute, + "Leave 3rd-party network room") { m_storageBackend = storageBackend; setDescription("Leave the room"); |