diff options
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", ) |
