Merge pull request #195 from rabbitmq/naming

Rename <user> to <username> to standarise all rabbitmqctl commands
This commit is contained in:
Michael Klishin 2017-06-15 16:37:55 +03:00 committed by GitHub
commit a84c4b3405
3 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ defmodule RabbitMQ.CLI.Ctl.Commands.SetPermissionsCommand do
)
end
def usage, do: "set_permissions [-p <vhost>] <user> <conf> <write> <read>"
def usage, do: "set_permissions [-p <vhost>] <username> <conf> <write> <read>"
def banner([user|_], %{vhost: vhost}), do: "Setting permissions for user \"#{user}\" in vhost \"#{vhost}\" ..."

View File

@ -46,7 +46,7 @@ defmodule RabbitMQ.CLI.Ctl.Commands.SetTopicPermissionsCommand do
)
end
def usage, do: "set_topic_permissions [-p <vhost>] <user> <exchange> <write_pattern> <read_pattern>"
def usage, do: "set_topic_permissions [-p <vhost>] <username> <exchange> <write_pattern> <read_pattern>"
def banner([user, exchange, _, _], %{vhost: vhost}), do: "Setting topic permissions on \"#{exchange}\" for user \"#{user}\" in vhost \"#{vhost}\" ..."

View File

@ -33,7 +33,7 @@ defmodule RabbitMQ.CLI.Ctl.Commands.SetUserTagsCommand do
)
end
def usage, do: "set_user_tags <user> <tag> [...]"
def usage, do: "set_user_tags <username> <tag> [...]"
def banner([user | tags], _) do