Merge pull request #195 from rabbitmq/naming
Rename <user> to <username> to standarise all rabbitmqctl commands
This commit is contained in:
commit
a84c4b3405
|
|
@ -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}\" ..."
|
||||
|
|
|
|||
|
|
@ -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}\" ..."
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue