mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
Use action='extend' for all multi-argument cli flags (#6200)
This commit is contained in:
parent
d8e584b5e8
commit
ba210bd08e
@ -177,6 +177,7 @@ def parse_cli_flags(args):
|
||||
type=int,
|
||||
default=[],
|
||||
nargs="+",
|
||||
action="extend",
|
||||
help="ID of a co-owner. Only people who have access "
|
||||
"to the system that is hosting Red should be "
|
||||
"co-owners, as this gives them complete access "
|
||||
@ -201,11 +202,16 @@ def parse_cli_flags(args):
|
||||
"--load-cogs",
|
||||
type=str,
|
||||
nargs="+",
|
||||
action="extend",
|
||||
help="Force loading specified cogs from the installed packages. "
|
||||
"Can be used with the --no-cogs flag to load these cogs exclusively.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--unload-cogs", type=str, nargs="+", help="Force unloading specified cogs."
|
||||
"--unload-cogs",
|
||||
type=str,
|
||||
nargs="+",
|
||||
action="extend",
|
||||
help="Force unloading specified cogs.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--dry-run",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user