summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Klishin <michael@clojurewerkz.org>2020-11-17 14:11:10 +0300
committerMichael Klishin <michael@clojurewerkz.org>2020-11-17 14:17:43 +0300
commit400f6f118838a00194d3f6830d6fede9ae94e477 (patch)
tree756d9079f845010ff89f7292c30d500bb6e1ce98
parentce655864050a78f46005b8aa5e047394a6178cd6 (diff)
downloadrabbitmq-server-git-400f6f118838a00194d3f6830d6fede9ae94e477.tar.gz
Wording and additional usage docs
(cherry picked from commit 3e3ef927b2471ec90899f449919bbdfa74bc5311)
-rw-r--r--deps/rabbitmq_cli/lib/rabbitmq/cli/ctl/commands/enable_feature_flag_command.ex10
1 files 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 <all | feature_flag>"
+
+ def usage_additional() do
+ [
+ ["<feature_flag>", "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 ..."