From eda1288bea1a463f450052f2c3fdd1600176317b Mon Sep 17 00:00:00 2001 From: Lemon Rose <78662983+japandotorg@users.noreply.github.com> Date: Sat, 14 Jan 2023 19:48:01 +0530 Subject: [PATCH] Add missing help descriptions for flags in redbot-setup (#5818) Co-authored-by: Lemon Rose Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> Co-authored-by: Leet <36166244+leetfin@users.noreply.github.com> Co-authored-by: Jakub Kuczys --- redbot/setup.py | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/redbot/setup.py b/redbot/setup.py index 0c2618a40..3e4ba8e8d 100644 --- a/redbot/setup.py +++ b/redbot/setup.py @@ -363,7 +363,16 @@ async def remove_instance_interaction() -> None: @click.group(invoke_without_command=True) -@click.option("--debug", "--verbose", "-v", count=True) +@click.option( + "--debug", + "--verbose", + "-v", + count=True, + help=( + "Increase the verbosity of the logs, each usage of this flag increases the verbosity" + " level by 1." + ), +) @click.option( "--no-prompt", "interactive", @@ -401,7 +410,15 @@ async def remove_instance_interaction() -> None: "Note: Choosing PostgreSQL will prevent the setup from being completely non-interactive." ), ) -@click.option("--overwrite-existing-instance", type=bool, is_flag=True) +@click.option( + "--overwrite-existing-instance", + type=bool, + is_flag=True, + help=( + "Confirm overwriting of existing instance.\n" + "Note: This removes *metadata* about the existing instance with that name." + ), +) @click.pass_context def cli( ctx: click.Context,