From a43b6e6df765a52899761e2c8ce63a12c052b89f Mon Sep 17 00:00:00 2001 From: DevilXD Date: Tue, 1 Feb 2022 11:37:52 +0100 Subject: [PATCH] Add note about argparse help --- main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index b7cc015..84461b8 100644 --- a/main.py +++ b/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")