Merge pull request #12286 from notatallshaw/clarify---prefer-binary

Clarify --prefer-binary in cli help and docs
This commit is contained in:
Paul Moore 2023-09-21 11:21:54 +01:00 committed by GitHub
commit 4b0e7e5c44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

1
news/12122.doc.rst Normal file
View File

@ -0,0 +1 @@
Clarify --prefer-binary in CLI and docs

View File

@ -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."
),
)