From 994dfe1c429797a7e69de7c8ec8530aab5207bcf Mon Sep 17 00:00:00 2001 From: "Andrew Phillips (aider)" Date: Sat, 10 May 2025 13:11:43 -0300 Subject: [PATCH] fix: resolve missing imports and ErrorKind typo --- src/modes/list.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/modes/list.rs b/src/modes/list.rs index f343a7f..065b820 100644 --- a/src/modes/list.rs +++ b/src/modes/list.rs @@ -1,4 +1,5 @@ -use anyhow::{anyhow, Result}; +use crate::ColumnType; +use crate::db::{get_item_tags, get_item_meta}; use chrono::Local; use clap::Command; use log::debug; @@ -24,7 +25,7 @@ pub fn mode_list( ) -> Result<()> { if !ids.is_empty() { cmd.error( - ErrorKind::InvalidValue, + ErrorKind::InvalidInput, "ID given, you can only supply tags when using --list", ) .exit();