fix: remove duplicate digest argument and adjust imports
This commit is contained in:
committed by
Andrew Phillips (aider)
parent
4c2df3d743
commit
9ba3a31e95
@@ -20,9 +20,9 @@ extern crate lazy_static;
|
||||
|
||||
pub mod compression_engine;
|
||||
pub mod db;
|
||||
pub mod digest_engine;
|
||||
//pub mod item;
|
||||
|
||||
|
||||
extern crate term;
|
||||
|
||||
lazy_static! {
|
||||
@@ -105,17 +105,13 @@ struct ItemArgs {
|
||||
#[arg(help("Set metadata for the item using the format KEY=[VALUE], the metadata will be removed if VALUE is not provided"))]
|
||||
meta: Vec<KeyValue>,
|
||||
|
||||
#[arg(help_heading("Item Options"), short, long, env("KEEP_DIGEST"))]
|
||||
#[arg(help_heading("Item Options"), long, env("KEEP_DIGEST"))]
|
||||
#[arg(help("Digest algorithm to use when saving items"))]
|
||||
digest: Option<String>,
|
||||
|
||||
#[arg(help_heading("Item Options"), short, long, env("KEEP_COMPRESSION"))]
|
||||
#[arg(help("Compression algorithm to use when saving items"))]
|
||||
compression: Option<String>,
|
||||
|
||||
#[arg(help_heading("Item Options"), short, long, env("KEEP_DIGEST"))]
|
||||
#[arg(help("Digest algorithm to use when saving items"))]
|
||||
digest: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Parser, Debug)]
|
||||
|
||||
Reference in New Issue
Block a user