From d109d737519af69ed1a306c4fdc49af803dbe624 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 6 Aug 2023 13:34:43 +0100 Subject: [PATCH] rename directory param as downloads --- src/main.rs | 2 +- src/params/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 8a0034e..d7d450c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -18,7 +18,7 @@ fn main() -> Result<()> { site, podal::Env { network: NetworkEnv::default(), - file: FileEnv::create(args.directory), + file: FileEnv::create(args.downloads), }, )?; diff --git a/src/params/mod.rs b/src/params/mod.rs index f92355f..d5651c3 100644 --- a/src/params/mod.rs +++ b/src/params/mod.rs @@ -6,5 +6,5 @@ pub struct Args { /// This is also the directory where the subscription and history files are stored. /// Defaults to the current directory #[arg(short, long, default_value = ".")] - pub directory: String, + pub downloads: String, }