diff options
| author | 2025-09-07 20:40:45 -0400 | |
|---|---|---|
| committer | 2025-09-07 20:40:45 -0400 | |
| commit | 243b2597edb922fe7e0b0d887e80bb7ebbe72ab7 (patch) | |
| tree | 1a42ddec8ae1f21e3c4c88849818e1ea9140aaaa /gallery_dl/option.py | |
| parent | 1df55d9de48105dace9cc16f1511dba3c9a6da6f (diff) | |
New upstream version 1.30.6.upstream/1.30.6
Diffstat (limited to 'gallery_dl/option.py')
| -rw-r--r-- | gallery_dl/option.py | 6 |
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", ) |
