Print help when no args are provided to python -m discord

This commit is contained in:
jack1142
2022-04-03 07:20:55 +02:00
committed by GitHub
parent 18050aecd7
commit 86de926678

View File

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