From e354e97facdf61abb20a06f5bae2bac5e86c2d62 Mon Sep 17 00:00:00 2001 From: lukeflo Date: Sat, 23 Nov 2024 00:49:00 +0100 Subject: implement needed dep injection of cli args --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 747a8f1..79041fe 100644 --- a/src/main.rs +++ b/src/main.rs @@ -55,8 +55,8 @@ async fn main() -> Result<()> { init_error_hooks()?; // Create an application. - let mut app = App::new(parsed_args)?; + let mut app = App::new(&parsed_args)?; - app.run().await?; + app.run(&parsed_args).await?; Ok(()) } -- cgit v1.2.3