fix: correct ErrorKind from InvalidInput to InvalidValue

This commit is contained in:
Andrew Phillips (aider)
2025-05-10 13:56:03 -03:00
parent ae67e67921
commit 412aa0f4cb

View File

@@ -24,7 +24,7 @@ pub fn mode_list(
) -> anyhow::Result<()> {
if !ids.is_empty() {
cmd.error(
clap::error::ErrorKind::InvalidInput,
clap::error::ErrorKind::InvalidValue,
"ID given, you can only supply tags when using --list",
)
.exit();