diff --git a/dht-config/src/lib.rs b/dht-config/src/lib.rs index 6399080..21c60d5 100644 --- a/dht-config/src/lib.rs +++ b/dht-config/src/lib.rs @@ -192,7 +192,9 @@ where cmd = cmd.mut_arg(key, |a| a.default_value(val).required(false)) } - let matches = cmd.get_matches(); + let matches = cmd + .arg(Arg::new("config").short('c').long("config")) + .get_matches(); ::from_arg_matches(&matches).expect("Internal error parsing matches") }