aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index ff87931..20f2061 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -66,10 +66,10 @@ fn parse_arguments() -> Configuration {
66 if matches.is_present("HELP") { 66 if matches.is_present("HELP") {
67 std::process::exit(0); 67 std::process::exit(0);
68 } 68 }
69 69
70 let lang = matches.value_of("lang").unwrap_or("en").to_string(); 70 let lang = matches.value_of("lang").unwrap_or("en").to_string();
71 let wiki_url = matches.value_of("URL").unwrap_or(&format!("https://{}.wikipedia.org", lang)).to_string(); 71 let wiki_url = matches.value_of("URL").unwrap_or(&format!("https://{}.wikipedia.org", lang)).to_string();
72 72
73 Configuration { 73 Configuration {
74 wiki_url 74 wiki_url
75 } 75 }