Fixed typo grabbing LDAP protocol type from YAML file
This commit is contained in:
parent
3605e00090
commit
49ad921c9d
@ -32,7 +32,7 @@ fn main() {
|
|||||||
.long("protocol")
|
.long("protocol")
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.required(true)
|
.required(true)
|
||||||
.default_value(yaml["muldap"]["protocl"].as_str().unwrap_or("ldap"))
|
.default_value(yaml["muldap"]["protocol"].as_str().unwrap_or("ldap"))
|
||||||
.help("LDAP connection protocol to use (typically ldap or ldaps)"))
|
.help("LDAP connection protocol to use (typically ldap or ldaps)"))
|
||||||
// server argument
|
// server argument
|
||||||
.arg(Arg::with_name("server")
|
.arg(Arg::with_name("server")
|
||||||
|
Loading…
Reference in New Issue
Block a user