From 400f6f118838a00194d3f6830d6fede9ae94e477 Mon Sep 17 00:00:00 2001 From: Michael Klishin Date: Tue, 17 Nov 2020 14:11:10 +0300 Subject: Wording and additional usage docs (cherry picked from commit 3e3ef927b2471ec90899f449919bbdfa74bc5311) --- .../rabbitmq/cli/ctl/commands/enable_feature_flag_command.ex | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/deps/rabbitmq_cli/lib/rabbitmq/cli/ctl/commands/enable_feature_flag_command.ex b/deps/rabbitmq_cli/lib/rabbitmq/cli/ctl/commands/enable_feature_flag_command.ex index b4108c7944..6af5a79e49 100644 --- a/deps/rabbitmq_cli/lib/rabbitmq/cli/ctl/commands/enable_feature_flag_command.ex +++ b/deps/rabbitmq_cli/lib/rabbitmq/cli/ctl/commands/enable_feature_flag_command.ex @@ -42,11 +42,17 @@ defmodule RabbitMQ.CLI.Ctl.Commands.EnableFeatureFlagCommand do end use RabbitMQ.CLI.DefaultOutput - def usage, do: "enable_feature_flag < all | feature_flag >" + def usage, do: "enable_feature_flag " + + def usage_additional() do + [ + ["", "name of the feature flag to enable, or \"all\" to enable all supported flags"] + ] +end def help_section(), do: :feature_flags - def description(), do: "Enables a feature flag on target node" + def description(), do: "Enables a feature flag or all supported feature flags on the target node" def banner(["all"], _), do: "Enabling all feature flags ..." -- cgit v1.2.1