use current directory as default

This commit is contained in:
Paul Campbell 2023-08-06 11:17:50 +01:00
parent 5eba1a3a1f
commit 69793b2a95

View file

@ -4,6 +4,6 @@ use clap::Parser;
pub struct Args {
/// The directory to download mp3 files into
/// Defaults to the current directory
#[arg(short, long)]
#[arg(short, long, default_value = ".")]
pub directory: String,
}