Fixed typo grabbing LDAP protocol type from YAML file

This commit is contained in:
Gregory Ballantine 2018-07-13 15:34:44 -04:00
parent 3605e00090
commit 49ad921c9d

View File

@ -32,7 +32,7 @@ fn main() {
.long("protocol")
.takes_value(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)"))
// server argument
.arg(Arg::with_name("server")