Ensure NS+DB values are required on import
CLI command
This commit is contained in:
parent
f46acec96f
commit
c0d851751b
1 changed files with 2 additions and 0 deletions
|
@ -290,6 +290,7 @@ pub fn init() {
|
||||||
Arg::new("ns")
|
Arg::new("ns")
|
||||||
.long("ns")
|
.long("ns")
|
||||||
.required(true)
|
.required(true)
|
||||||
|
.takes_value(true)
|
||||||
.forbid_empty_values(true)
|
.forbid_empty_values(true)
|
||||||
.help("The namespace to import the data into"),
|
.help("The namespace to import the data into"),
|
||||||
)
|
)
|
||||||
|
@ -297,6 +298,7 @@ pub fn init() {
|
||||||
Arg::new("db")
|
Arg::new("db")
|
||||||
.long("db")
|
.long("db")
|
||||||
.required(true)
|
.required(true)
|
||||||
|
.takes_value(true)
|
||||||
.forbid_empty_values(true)
|
.forbid_empty_values(true)
|
||||||
.help("The database to import the data into"),
|
.help("The database to import the data into"),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue