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, }