aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/option.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-08-16 07:00:40 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2025-08-16 07:00:40 -0400
commit22e8d9823eb9fb802c926fb03a5fdccbea26f878 (patch)
treed399937a3bf139d386b8f5df2fc646b751c14719 /gallery_dl/option.py
parent0839cde5064bd6000162ee23b8445b99afe10068 (diff)
parent3d18761f620a294ea6c5bff13c5994b93b29f3ed (diff)
Update upstream source from tag 'upstream/1.30.3'
Update to upstream version '1.30.3' with Debian dir cbd3490f51b0ee3f2e172965318cd079b856367d
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(