From 69793b2a95558328b179364c8d79ae1c39664fd1 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 6 Aug 2023 11:17:50 +0100 Subject: [PATCH] use current directory as default --- src/params/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/params/mod.rs b/src/params/mod.rs index 53c561b..aa58b97 100644 --- a/src/params/mod.rs +++ b/src/params/mod.rs @@ -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, }