Skip to content

Commit

Permalink
Merge pull request #12286 from notatallshaw/clarify---prefer-binary
Browse files Browse the repository at this point in the history
Clarify --prefer-binary in cli help and docs
  • Loading branch information
pfmoore authored Sep 21, 2023
2 parents 0827d76 + 677c3ee commit 4b0e7e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions news/12122.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarify --prefer-binary in CLI and docs
5 changes: 4 additions & 1 deletion src/pip/_internal/cli/cmdoptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,10 @@ def prefer_binary() -> Option:
dest="prefer_binary",
action="store_true",
default=False,
help="Prefer older binary packages over newer source packages.",
help=(
"Prefer binary packages over source packages, even if the "
"source packages are newer."
),
)


Expand Down

0 comments on commit 4b0e7e5

Please sign in to comment.