fixed interactive mode activating on cli arguments that shouldn't activate it.

This commit is contained in:
Dummi26 2023-04-26 13:52:30 +02:00
parent 49f465c444
commit 34be9adef2

View File

@ -87,7 +87,7 @@ fn main() {
if verbose != 0 { if verbose != 0 {
eprintln!("info: set verbosity level to {verbose}. this doesn't do anything yet. [TODO!]"); eprintln!("info: set verbosity level to {verbose}. this doesn't do anything yet. [TODO!]");
} }
if interactive >= 0 { if interactive > 0 {
match interactive { match interactive {
_ => { _ => {
// basic: open file and watch for fs changes // basic: open file and watch for fs changes