From 46df63c0bde2b357b0f0bb498721776105013f14 Mon Sep 17 00:00:00 2001 From: Oraoto Date: Mon, 11 Jan 2021 19:46:35 +0800 Subject: [PATCH] Fix cookies_input_file argument name mismatch --- packages/hurl/src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/hurl/src/main.rs b/packages/hurl/src/main.rs index b6ddaf5aa..3f3d3c1d3 100644 --- a/packages/hurl/src/main.rs +++ b/packages/hurl/src/main.rs @@ -528,7 +528,9 @@ fn parse_options(matches: ArgMatches) -> Result { let no_proxy = matches.value_of("proxy").map(|x| x.to_string()); let insecure = matches.is_present("insecure"); let follow_location = matches.is_present("follow_location"); - let cookie_input_file = matches.value_of("cookie_input_file").map(|x| x.to_string()); + let cookie_input_file = matches + .value_of("cookies_input_file") + .map(|x| x.to_string()); let max_redirect = match matches.value_of("max_redirects") { None => Some(50), Some("-1") => None,