From ad12b552a035241859164e691c5f4a27a45dbc73 Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Mon, 25 Aug 2025 18:27:49 -0300 Subject: [PATCH] fix: remove unused KeyValue struct and related fields Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) --- src/args.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/args.rs b/src/args.rs index bd12eaa..1685d9b 100644 --- a/src/args.rs +++ b/src/args.rs @@ -2,7 +2,7 @@ use std::path::PathBuf; use std::str::FromStr; use clap::*; -use anyhow::{Error, anyhow}; +use anyhow::Error; /** * Main struct for command-line arguments. @@ -78,14 +78,6 @@ pub struct ModeArgs { */ #[derive(Parser, Debug, Clone)] pub struct ItemArgs { - #[arg(help_heading("Item Options"), short, long, conflicts_with_all(["get", "delete", "status"]))] - #[arg(help( - "Set metadata for the item using the format KEY=[VALUE], the metadata will be removed if VALUE is not provided" - ))] - #[arg(value_parser = clap::value_parser!(KeyValue))] - pub meta: Vec, - - #[arg(help_heading("Item Options"), short, long, env("KEEP_COMPRESSION"))] #[arg(help("Compression algorithm to use when saving items"))] pub compression: Option,