From 53e4760b8cd90b7275a769e77e72972db20e85ec Mon Sep 17 00:00:00 2001 From: Alexander Date: Thu, 3 Feb 2022 21:09:26 +0100 Subject: More accurate help message for verbosity setting (#76887) --- lib/ansible/cli/arguments/option_helpers.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/ansible/cli/arguments/option_helpers.py b/lib/ansible/cli/arguments/option_helpers.py index a347849f87..8c6444f602 100644 --- a/lib/ansible/cli/arguments/option_helpers.py +++ b/lib/ansible/cli/arguments/option_helpers.py @@ -210,7 +210,9 @@ def create_base_parser(prog, usage="", desc=None, epilog=None): def add_verbosity_options(parser): """Add options for verbosity""" parser.add_argument('-v', '--verbose', dest='verbosity', default=C.DEFAULT_VERBOSITY, action="count", - help="verbose mode (-vvv for more, -vvvv to enable connection debugging)") + help="Causes Ansible to print more debug messages. Adding multiple -v will increase the verbosity, " + "the builtin plugins currently evaluate up to -vvvvvv. A reasonable level to start is -vvv, " + "connection debugging might require -vvvv.") def add_async_options(parser): -- cgit v1.2.1