mirror of
https://github.com/rangermix/TwitchDropsMiner.git
synced 2026-05-31 09:29:37 +00:00
Add note about argparse help
This commit is contained in:
4
main.py
4
main.py
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user