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:
Charlie Marsh 2025-08-05 19:17:30 +01:00 committed by GitHub
parent 327af017ae
commit 089b6d5538
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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
);
}

View file

@ -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
);
}