mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
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:
parent
f13d910f66
commit
eda1288bea
@ -363,7 +363,16 @@ async def remove_instance_interaction() -> None:
|
|||||||
|
|
||||||
|
|
||||||
@click.group(invoke_without_command=True)
|
@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(
|
@click.option(
|
||||||
"--no-prompt",
|
"--no-prompt",
|
||||||
"interactive",
|
"interactive",
|
||||||
@ -401,7 +410,15 @@ async def remove_instance_interaction() -> None:
|
|||||||
"Note: Choosing PostgreSQL will prevent the setup from being completely non-interactive."
|
"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
|
@click.pass_context
|
||||||
def cli(
|
def cli(
|
||||||
ctx: click.Context,
|
ctx: click.Context,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user