cli: cmdoptions: Mark always_unzip as depreceated
@@ -832,6 +832,10 @@ always_unzip = partial(
action='store_true',
help=SUPPRESS_HELP,
) # type: Callable[..., Option]
+# TODO: Move into a class that inherits from partial, currently does not
+# work as mypy complains functools.partial is a generic class.
+# This way we know we can ignore this option in docs auto generation
+setattr(always_unzip, 'deprecated', True)
def _handle_merge_hash(option, opt_str, value, parser):
