Set default formatter for environment command to erlang

This commit is contained in:
Daniil Fedotov 2017-06-01 16:27:14 +01:00
parent 692c6da15a
commit 9b0ec73a0d
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,8 @@ defmodule RabbitMQ.CLI.Ctl.Commands.EnvironmentCommand do
def validate(_, _), do: :ok
def merge_defaults(args, opts), do: {args, opts}
def formatter(), do: RabbitMQ.CLI.Formatters.Erlang
def scopes(), do: [:ctl, :diagnostics]
def run([], %{node: node_name}) do
:rabbit_misc.rpc_call(node_name, :rabbit, :environment, [])