From d67e2314318de79bf76d5d59e852bc750fc6c0e2 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Fri, 29 Jul 2022 10:36:54 +0100 Subject: [PATCH] Ensure NS+DB values are required on `export` CLI command --- src/cli/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cli/mod.rs b/src/cli/mod.rs index 2e5f1fdd..4cdb7ddc 100644 --- a/src/cli/mod.rs +++ b/src/cli/mod.rs @@ -344,6 +344,7 @@ pub fn init() { Arg::new("ns") .long("ns") .required(true) + .takes_value(true) .forbid_empty_values(true) .help("The namespace to export the data from"), ) @@ -351,6 +352,7 @@ pub fn init() { Arg::new("db") .long("db") .required(true) + .takes_value(true) .forbid_empty_values(true) .help("The database to export the data from"), )