mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-22 10:47:58 -05:00
[V3] added --version flag (#1479)
This commit is contained in:
@@ -64,6 +64,8 @@ def ask_sentry(red: Red):
|
||||
def parse_cli_flags(args):
|
||||
parser = argparse.ArgumentParser(description="Red - Discord Bot",
|
||||
usage="redbot <instance_name> [arguments]")
|
||||
parser.add_argument("--version", "-V", action="store_true",
|
||||
help="Show Red's current version")
|
||||
parser.add_argument("--list-instances", action="store_true",
|
||||
help="List all instance names setup "
|
||||
"with 'redbot-setup'")
|
||||
|
||||
Reference in New Issue
Block a user