Make --compress not conflict

This commit is contained in:
Andrew Phillips
2023-09-06 14:21:49 +00:00
parent 2119f7e226
commit 6f55c2ab81

View File

@@ -113,7 +113,7 @@ struct ItemArgs {
#[arg(help("Set metadata for the item using the format KEY=[VALUE], the metadata will be removed if VALUE is not provided"))] #[arg(help("Set metadata for the item using the format KEY=[VALUE], the metadata will be removed if VALUE is not provided"))]
meta: Option<Vec<KeyValue>>, meta: Option<Vec<KeyValue>>,
#[arg(help_heading("Item Options"), short('C'), long, conflicts_with("get"), conflicts_with("list"), env("KEEP_COMPRESSION"), )] #[arg(help_heading("Item Options"), short('C'), long, env("KEEP_COMPRESSION"), )]
#[arg(help("Compression algorithm to use when saving items"))] #[arg(help("Compression algorithm to use when saving items"))]
compression: Option<String>, compression: Option<String>,
} }