From 8f7330e0c564918cf1cfec505cefbc093a41aa52 Mon Sep 17 00:00:00 2001 From: j03-dev <24nomeniavo@gmail.com> Date: Wed, 18 Oct 2023 00:21:41 +0300 Subject: [PATCH] fix --- src/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.rs b/src/cli.rs index 523840d..873157b 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -31,7 +31,7 @@ impl Args { fn args_parser() -> Option { let args: Vec = env::args().collect(); match args.len() { - 3 => Some(Args::new(&args[1], &args[2])), + 2 => Some(Args::new(&args[1], &args[2])), _ => None, } }