fix: correct ErrorKind from InvalidInput to InvalidValue
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user