From 34be9adef2d5d3a77a2e75d2f3a459014e6e6312 Mon Sep 17 00:00:00 2001 From: Dummi26 Date: Wed, 26 Apr 2023 13:52:30 +0200 Subject: [PATCH] fixed interactive mode activating on cli arguments that shouldn't activate it. --- mers/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mers/src/main.rs b/mers/src/main.rs index a9776f7..67cebf1 100755 --- a/mers/src/main.rs +++ b/mers/src/main.rs @@ -87,7 +87,7 @@ fn main() { if verbose != 0 { eprintln!("info: set verbosity level to {verbose}. this doesn't do anything yet. [TODO!]"); } - if interactive >= 0 { + if interactive > 0 { match interactive { _ => { // basic: open file and watch for fs changes