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<()> { ) -> anyhow::Result<()> {
if !ids.is_empty() { if !ids.is_empty() {
cmd.error( cmd.error(
clap::error::ErrorKind::InvalidInput, clap::error::ErrorKind::InvalidValue,
"ID given, you can only supply tags when using --list", "ID given, you can only supply tags when using --list",
) )
.exit(); .exit();