Browse Source

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

pull/7836/head
jack1142 3 years ago
committed by GitHub
parent
commit
86de926678
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      discord/__main__.py

2
discord/__main__.py

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

Loading…
Cancel
Save