Add note about argparse help

This commit is contained in:
DevilXD
2022-02-01 11:37:52 +01:00
parent 6839247322
commit a43b6e6df7

View File

@@ -57,11 +57,13 @@ class ParsedArgs(argparse.Namespace):
# handle input parameters
# NOTE: due to using pythonw to run the main script, CLI help via '-h' and generally any
# console output is not available. The input arguments still work though.
parser = argparse.ArgumentParser(
"Twitch Drops Miner (by DevilXD).exe",
description="A program that allows you to mine timed drops on Twitch.",
)
parser.add_argument("-V", "--version", action="version", version=f"v{__version__}")
parser.add_argument("--version", action="version", version=f"v{__version__}")
parser.add_argument("-v", dest="_verbose", action="count", default=0)
parser.add_argument("--debug", dest="debug", action="store_true")
parser.add_argument("--debug-ws", dest="_debug_ws", action="store_true")