From fd56a16c4146d1ef6b8a4b7be331ace9a47f20d5 Mon Sep 17 00:00:00 2001 From: Ivan Habunek Date: Sat, 30 May 2020 09:48:31 +0200 Subject: [PATCH] Fix option to use kebab case like the rest --- CHANGELOG.md | 6 ++++++ twitchdl/console.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4820932..b9007d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ Twitch Downloader change log ============================ +1.9.0 (TBA) +------------------ + +* **Breaking**: wrongly named `--max_workers` option changed to `--max-workers`. + The shorthand option `-w` remains the same. + 1.8.0 (2020-05-17) ------------------ diff --git a/twitchdl/console.py b/twitchdl/console.py index c635bc5..2ff5cfd 100644 --- a/twitchdl/console.py +++ b/twitchdl/console.py @@ -87,7 +87,7 @@ COMMANDS = [ "help": "video ID, clip slug, or URL", "type": str, }), - (["-w", "--max_workers"], { + (["-w", "--max-workers"], { "help": "maximal number of threads for downloading vods " "concurrently (default 20)", "type": int,