rename directory param as downloads

This commit is contained in:
Paul Campbell 2023-08-06 13:34:43 +01:00
parent 9d578c2d86
commit d109d73751
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ fn main() -> Result<()> {
site,
podal::Env {
network: NetworkEnv::default(),
file: FileEnv::create(args.directory),
file: FileEnv::create(args.downloads),
},
)?;

View file

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