From 49ad921c9debd13b3bde13a0ce418f283c7ab092 Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Fri, 13 Jul 2018 15:34:44 -0400 Subject: [PATCH] Fixed typo grabbing LDAP protocol type from YAML file --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 461854f..182d655 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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")