summaryrefslogtreecommitdiffstats
path: root/gallery_dl/option.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-08-16 07:00:33 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2025-08-16 07:00:33 -0400
commit3d18761f620a294ea6c5bff13c5994b93b29f3ed (patch)
tree092fa6f8128bc187512be532801670417f215986 /gallery_dl/option.py
parenta6e995c093de8aae2e91a0787281bb34c0b871eb (diff)
New upstream version 1.30.3.upstream/1.30.3
Diffstat (limited to 'gallery_dl/option.py')
-rw-r--r--gallery_dl/option.py14
1 files changed, 9 insertions, 5 deletions
diff --git a/gallery_dl/option.py b/gallery_dl/option.py
index 963f957..fd664e6 100644
--- a/gallery_dl/option.py
+++ b/gallery_dl/option.py
@@ -664,14 +664,18 @@ def build_parser():
selection = parser.add_argument_group("Selection Options")
selection.add_argument(
"-A", "--abort",
- dest="abort", metavar="N", type=int,
- help=("Stop current extractor run "
- "after N consecutive file downloads were skipped"),
+ dest="abort", metavar="N[:TARGET]",
+ help=("Stop current extractor(s) "
+ "after N consecutive file downloads were skipped. "
+ "Specify a TARGET to set how many levels to ascend or "
+ "to which subcategory to jump to. "
+ "Examples: '-A 3', '-A 3:2', '-A 3:manga'"),
)
selection.add_argument(
"-T", "--terminate",
- dest="terminate", metavar="N", type=int,
- help=("Stop current and parent extractor runs "
+ dest="terminate", metavar="N",
+ help=("Stop current & parent extractors "
+ "and proceed with the next input URL "
"after N consecutive file downloads were skipped"),
)
selection.add_argument(