Skip to content

Commit 3e9c6a9

Browse files
Explain why list_vhosts does not list metadata such as DQT by default
1 parent 090d118 commit 3e9c6a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deps/rabbitmq_cli/lib/rabbitmq/cli/ctl/commands/list_vhosts_command.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ defmodule RabbitMQ.CLI.Ctl.Commands.ListVhostsCommand do
1919
use RabbitMQ.CLI.Core.AcceptsDefaultSwitchesAndTimeout
2020

2121
def merge_defaults([], opts) do
22+
# this default historically benefits those who script using 'rabbitmqctl list_vhosts',
23+
# adding more fields here would break scripts but be more useful to a human reader. MK.
2224
merge_defaults(["name"], opts)
2325
end
2426

0 commit comments

Comments
 (0)