aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/option.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-09-07 20:40:52 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2025-09-07 20:40:52 -0400
commit88f40b9b0dc47fa22a209e8246d97a43f4b60cb2 (patch)
tree5764999c5d1ce99ccebd92dddb7a3914b55e43c2 /gallery_dl/option.py
parent7ac1b3bb04430b981f4f796fd765499cdc8b67ec (diff)
parent243b2597edb922fe7e0b0d887e80bb7ebbe72ab7 (diff)
Update upstream source from tag 'upstream/1.30.6'
Update to upstream version '1.30.6' with Debian dir 9f14996b07ee3246bdcde2ec12796c77da2a3060
Diffstat (limited to 'gallery_dl/option.py')
-rw-r--r--gallery_dl/option.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/gallery_dl/option.py b/gallery_dl/option.py
index fd664e6..05cc9d3 100644
--- a/gallery_dl/option.py
+++ b/gallery_dl/option.py
@@ -222,10 +222,6 @@ class Formatter(argparse.HelpFormatter):
def _format_usage(self, usage, actions, groups, prefix):
return f"Usage: {self._prog} [OPTIONS] URL [URL...]\n"
- def format_help(self):
- return self._long_break_matcher.sub(
- "\n\n", self._root_section.format_help())
-
def _parse_option(opt):
key, _, value = opt.partition("=")
@@ -276,7 +272,7 @@ def build_parser():
help="Load external extractors from PATH",
)
general.add_argument(
- "--user-agent",
+ "-a", "--user-agent",
dest="user-agent", metavar="UA", action=ConfigAction,
help="User-Agent request header",
)