From c9a4ab3e7d157390490192b66ec55b38b00807b2 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Mon, 11 Oct 2021 12:49:30 +0200 Subject: [PATCH] Add artist_url to usage and output artist_url option as parameter option in usage output --- README.md | 2 +- src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 466d31d..0a03367 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ Settings could not be loaded, because of the following error: IO: NotFound No su $ down_on_spot.exe Usage: -down_on_spot.exe (track_url | album_url | playlist_url) +down_on_spot.exe (track_url | album_url | playlist_url | artist_url) ``` ## Known issues diff --git a/src/main.rs b/src/main.rs index d821ad7..079ca2c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -147,7 +147,7 @@ async fn start() { println!("Finished download(s) in {} second(s).", time_elapsed); } else { println!( - "Usage:\n{} (track_url | album_url | playlist_url)", + "Usage:\n{} (track_url | album_url | playlist_url | artist_url )", env::args() .next() .as_ref()