diff --git a/src/render/context/mod.rs b/src/render/context/mod.rs index 499665a8..7616422d 100644 --- a/src/render/context/mod.rs +++ b/src/render/context/mod.rs @@ -162,11 +162,6 @@ impl Context { continue; } - match config_args.value_source(id_str) { - Some(arg) => arg, - _ => continue, - }; - if let Some(user_arg) = user_args.value_source(id_str) { match user_arg { // prioritize the user arg if user provided a command line argument @@ -178,6 +173,8 @@ impl Context { } } + println!("{:?}", args); + let clargs = Context::command().get_matches_from(args); return Context::from_arg_matches(&clargs).map_err(|e| Error::Config(e)); }