mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-02 16:23:29 +00:00
Print help when no args are provided to python -m discord
This commit is contained in:
@ -56,6 +56,8 @@ def show_version() -> None:
|
||||
def core(parser: argparse.ArgumentParser, args: argparse.Namespace) -> None:
|
||||
if args.version:
|
||||
show_version()
|
||||
else:
|
||||
parser.print_help()
|
||||
|
||||
|
||||
_bot_template = """#!/usr/bin/env python3
|
||||
|
Reference in New Issue
Block a user