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