aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNerdyPepper <[email protected]>2019-03-31 05:27:27 +0100
committerNerdyPepper <[email protected]>2019-03-31 05:27:27 +0100
commita4b60c736bd74a21c276dbbbb814625dd84b507a (patch)
tree53be5494a90892af0c75eeffcc46e4a11bf4a2cb
parentc58bcfd203f2064e0249824635d42bf4b8adaf97 (diff)
fix bug where command mode is never reachablev0.2.3
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index f137417..5219c6d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -117,7 +117,7 @@ fn parse_arguments() -> Configuration {
117 .get_matches(); 117 .get_matches();
118 118
119 let mut input = String::new(); 119 let mut input = String::new();
120 if let Some(i) = config.value_of("input") { 120 if let Some(i) = config.value_of("INPUT") {
121 input.push_str(i); 121 input.push_str(i);
122 }; 122 };
123 Configuration { 123 Configuration {