From a4b60c736bd74a21c276dbbbb814625dd84b507a Mon Sep 17 00:00:00 2001 From: NerdyPepper Date: Sun, 31 Mar 2019 09:57:27 +0530 Subject: fix bug where command mode is never reachable --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 { .get_matches(); let mut input = String::new(); - if let Some(i) = config.value_of("input") { + if let Some(i) = config.value_of("INPUT") { input.push_str(i); }; Configuration { -- cgit v1.2.3