Skip to content

Commit ee874c6

Browse files
author
Noah Gorny
committed
cli: cmdoptions: Mark always_unzip as depreceated
1 parent 69cc558 commit ee874c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pip/_internal/cli/cmdoptions.py

+2
Original file line numberDiff line numberDiff line change
@@ -840,6 +840,8 @@ def _handle_no_use_pep517(option, opt, value, parser):
840840
action='store_true',
841841
help=SUPPRESS_HELP,
842842
) # type: Callable[..., Option]
843+
# This way we know we can ignore this option in various docs auto generation
844+
setattr(always_unzip, 'deprecated', True)
843845

844846

845847
def _handle_merge_hash(option, opt_str, value, parser):

0 commit comments

Comments
 (0)