diff --git a/gallery_dl/option.py b/gallery_dl/option.py index 1d94aab9..a3f78e5b 100644 --- a/gallery_dl/option.py +++ b/gallery_dl/option.py @@ -803,4 +803,10 @@ def build_parser(): "&& convert * ../doc.pdf\""), ) + try: + # restore normal behavior when adding '-4' or '-6' as arguments + parser._has_negative_number_optionals.clear() + except Exception: + pass + return parser