From cc34f2c245d67fc6808d8bd26c54c4d7ec9bda61 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Fri, 26 Apr 2024 22:14:06 -0400 Subject: [PATCH] Tweak message --- rye/src/cli/add.rs | 2 +- rye/src/lock.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rye/src/cli/add.rs b/rye/src/cli/add.rs index bf05eaa95b..3e357c9b0b 100644 --- a/rye/src/cli/add.rs +++ b/rye/src/cli/add.rs @@ -281,7 +281,7 @@ pub fn execute(cmd: Args) -> Result<(), Error> { )?; } else { if keyring_provider != KeyringProvider::Disabled { - bail!("--keyring-provider option is only supported with uv"); + bail!("`--keyring-provider` option requires the uv backend"); } for requirement in &mut requirements { resolve_requirements_with_unearth( diff --git a/rye/src/lock.rs b/rye/src/lock.rs index 08934ba7d1..38e31f7168 100644 --- a/rye/src/lock.rs +++ b/rye/src/lock.rs @@ -433,7 +433,7 @@ fn generate_lockfile( )?; } else { if keyring_provider != KeyringProvider::Disabled { - bail!("--keyring-provider option is only supported with uv"); + bail!("`--keyring-provider` option requires the uv backend"); } let mut cmd = Command::new(get_pip_compile(py_ver, output)?); // legacy pip tools requires some extra parameters