mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-03 05:03:46 +00:00
Use "option" instead of "setting" in pylock warning (#15089)
## Summary We use "option" everywhere else (though I don't have a strong opinion on which is "better").
This commit is contained in:
parent
327af017ae
commit
089b6d5538
2 changed files with 2 additions and 2 deletions
|
|
@ -147,7 +147,7 @@ pub(crate) async fn pip_install(
|
|||
if pylock.is_some() {
|
||||
if !preview.is_enabled(PreviewFeatures::PYLOCK) {
|
||||
warn_user!(
|
||||
"The `--pylock` setting is experimental and may change without warning. Pass `--preview-features {}` to disable this warning.",
|
||||
"The `--pylock` option is experimental and may change without warning. Pass `--preview-features {}` to disable this warning.",
|
||||
PreviewFeatures::PYLOCK
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ pub(crate) async fn pip_sync(
|
|||
if pylock.is_some() {
|
||||
if !preview.is_enabled(PreviewFeatures::PYLOCK) {
|
||||
warn_user!(
|
||||
"The `--pylock` setting is experimental and may change without warning. Pass `--preview-features {}` to disable this warning.",
|
||||
"The `--pylock` option is experimental and may change without warning. Pass `--preview-features {}` to disable this warning.",
|
||||
PreviewFeatures::PYLOCK
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue