aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/option.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/option.py')
-rw-r--r--gallery_dl/option.py18
1 files changed, 14 insertions, 4 deletions
diff --git a/gallery_dl/option.py b/gallery_dl/option.py
index 05cc9d3..a47d8cd 100644
--- a/gallery_dl/option.py
+++ b/gallery_dl/option.py
@@ -698,10 +698,15 @@ def build_parser():
"(e.g. '5', '8-20', or '1:24:3')"),
)
selection.add_argument(
+ "--post-range",
+ dest="post-range", metavar="RANGE", action=ConfigAction,
+ help=("Like '--range', but for posts"),
+ )
+ selection.add_argument(
"--chapter-range",
dest="chapter-range", metavar="RANGE", action=ConfigAction,
- help=("Like '--range', but applies to manga chapters "
- "and other delegated URLs"),
+ help=("Like '--range', but for child extractors handling "
+ "manga chapters, external URLs, etc."),
)
selection.add_argument(
"--filter",
@@ -713,10 +718,15 @@ def build_parser():
"rating in ('s', 'q')\""),
)
selection.add_argument(
+ "--post-filter",
+ dest="post-filter", metavar="EXPR", action=ConfigAction,
+ help=("Like '--filter', but for posts"),
+ )
+ selection.add_argument(
"--chapter-filter",
dest="chapter-filter", metavar="EXPR", action=ConfigAction,
- help=("Like '--filter', but applies to manga chapters "
- "and other delegated URLs"),
+ help=("Like '--filter', but for child extractors handling "
+ "manga chapters, external URLs, etc."),
)
infojson = {