Skip to content

Commit

Permalink
Tweak message
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh authored and emarsden-iso committed May 6, 2024
1 parent 1a10daa commit cc34f2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rye/src/cli/add.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion rye/src/lock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc34f2c

Please sign in to comment.