From 2fcd4f0aa73ae819b2f22dca5e782fc7f1a49cae Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Mon, 20 Jul 2020 04:13:12 +0400 Subject: [PATCH] Updated usage, so I don't have to edit it every time I add a new IB. --- scrapthechan/cli/scraper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scrapthechan/cli/scraper.py b/scrapthechan/cli/scraper.py index fd58c43..e1c7ed9 100644 --- a/scrapthechan/cli/scraper.py +++ b/scrapthechan/cli/scraper.py @@ -17,7 +17,7 @@ __all__ = ["main"] USAGE = \ -"""Usage: scrapthechan [OPTIONS] (URL | IMAGEBOARD BOARD THREAD) +f"""Usage: scrapthechan [OPTIONS] (URL | IMAGEBOARD BOARD THREAD) Options: \t-h,--help -- print this help and exit; @@ -34,7 +34,7 @@ Arguments: \tBOARD -- short name of a board. E.g. b; \tTHREAD -- ID of a thread. E.g. 100500. -Supported imageboards: 4chan.org, 2ch.hk, lainchan.org. +Supported imageboards: {', '.join(SUPPORTED_IMAGEBOARDS)}. """