From d61e7b05c369b0a286d23cf829ffc6fc0166eb95 Mon Sep 17 00:00:00 2001 From: ph0llux Date: Sun, 28 Jul 2024 20:15:50 +0200 Subject: [PATCH] fixed typo --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 73b92fe..36858b9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -53,7 +53,7 @@ pub struct Cli { #[clap(short='c', long="preload-chunkmap", value_enum, default_value="none")] preload_chunkmap: PreloadChunkmapValue, - #[clap(short='r', long="redb-path", required_if_eq("preload-chunkmap", "redb"))] + #[clap(short='r', long="redb-path", required_if_eq("preload_chunkmap", "redb"))] redb_path: Option, }