diff options
| author | lukeflo | 2024-11-23 00:49:00 +0100 |
|---|---|---|
| committer | lukeflo | 2024-11-23 00:49:00 +0100 |
| commit | e354e97facdf61abb20a06f5bae2bac5e86c2d62 (patch) | |
| tree | ce3f15e72289f25f8c4a06fb5f5b891d3a643f60 /src/main.rs | |
| parent | 53679da34cd7fe84aaac2a15f936e1450de7c125 (diff) | |
| download | bibiman-e354e97facdf61abb20a06f5bae2bac5e86c2d62.tar.gz bibiman-e354e97facdf61abb20a06f5bae2bac5e86c2d62.zip | |
implement needed dep injection of cli args
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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(()) } |
