Add missing help descriptions for flags in redbot-setup (#5818)

Co-authored-by: Lemon Rose <japandotorg@users.noreply.github.com>
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 <me@jacken.men>
This commit is contained in:
Lemon Rose 2023-01-14 19:48:01 +05:30 committed by GitHub
parent f13d910f66
commit eda1288bea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,