From e2a5830d17257cf06af05cf2adb5139019a09bd0 Mon Sep 17 00:00:00 2001 From: "Jeremie J. Jarosh" Date: Sat, 15 Apr 2023 17:08:52 -0500 Subject: [PATCH] Make `--human-folders` a proper on/off flag The `ArgumentParser.add_argument()` call has been updated to show up as an 'on/off' argument. --- itchiodl/downloader/__main__.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/itchiodl/downloader/__main__.py b/itchiodl/downloader/__main__.py index 5b554b9..fe444ce 100644 --- a/itchiodl/downloader/__main__.py +++ b/itchiodl/downloader/__main__.py @@ -27,10 +27,7 @@ def main(): parser.add_argument( "--human-folders", - type=bool, - default=False, - const=True, - nargs="?", + action='store_true', help=( "Download Folders are named based on the full text version of the title instead of " "the trimmed URL title"