fix: resolve missing imports and ErrorKind typo
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
use anyhow::{anyhow, Result};
|
use crate::ColumnType;
|
||||||
|
use crate::db::{get_item_tags, get_item_meta};
|
||||||
use chrono::Local;
|
use chrono::Local;
|
||||||
use clap::Command;
|
use clap::Command;
|
||||||
use log::debug;
|
use log::debug;
|
||||||
@@ -24,7 +25,7 @@ pub fn mode_list(
|
|||||||
) -> Result<()> {
|
) -> Result<()> {
|
||||||
if !ids.is_empty() {
|
if !ids.is_empty() {
|
||||||
cmd.error(
|
cmd.error(
|
||||||
ErrorKind::InvalidValue,
|
ErrorKind::InvalidInput,
|
||||||
"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