From 2c8b804cd61a480501069cdf4d4377f3c2cf30bb Mon Sep 17 00:00:00 2001 From: Namilskyy Date: Wed, 3 Dec 2025 21:00:31 +0300 Subject: Not much of the documentation has been implemented, as well as some minor changes --- src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 2cff8d4..b9328a0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -45,6 +45,7 @@ enum Commands { repo: Option, cachedir: Option, buildir: Option, + installed_db: Option, }, #[command(about = "Maintaners, links, developers and more info")] Credits, @@ -145,6 +146,7 @@ async fn main() -> Result<(), Box> { repo, cachedir, buildir, + installed_db, } => { println!("Generating config file"); if cachedir.is_none() && repo.is_none() && buildir.is_none() { @@ -162,7 +164,7 @@ async fn main() -> Result<(), Box> { file.write_all(config.as_bytes())?; println!("Config tool ending work."); } else { - let config = Config::generate(repo, cachedir, buildir).unwrap(); + let config = Config::generate(repo, cachedir, buildir, installed_db).unwrap(); println!("---- Start of generated config ----"); println!("{:?}", config); -- cgit v1.2.3