From c0d851751b071b2e60ea51dd568fc0307ff10482 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Fri, 29 Jul 2022 10:36:49 +0100 Subject: [PATCH] Ensure NS+DB values are required on `import` 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 8ce88b8a..2e5f1fdd 100644 --- a/src/cli/mod.rs +++ b/src/cli/mod.rs @@ -290,6 +290,7 @@ pub fn init() { Arg::new("ns") .long("ns") .required(true) + .takes_value(true) .forbid_empty_values(true) .help("The namespace to import the data into"), ) @@ -297,6 +298,7 @@ pub fn init() { Arg::new("db") .long("db") .required(true) + .takes_value(true) .forbid_empty_values(true) .help("The database to import the data into"), )