From 53a712441f9f9b2ba92cef1f502596204035c2f8 Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Fri, 3 Feb 2023 19:06:01 +0200 Subject: [PATCH] improve the help output --- src/arguments.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/arguments.rs b/src/arguments.rs index 1e0e74d..c3f37e1 100644 --- a/src/arguments.rs +++ b/src/arguments.rs @@ -22,8 +22,9 @@ pub struct Arguments { /// The path to look for the cover image, if not given, the cover will be searched in the track's directory /// for an image file with the name "cover". /// - /// You can use the placeholder "{artist}" and "{album}" and "{title}" in the path, - /// they will be replaced with the corresponding metadata. + /// You can use the placeholder "{artist}" and "{album}" and "{title}" and "{track_number}" and + /// "{disc_number}" and "{year}" and "{genre}" in the path, they will be replaced with the corresponding metadata. + /// but if the metadata is not available, the placeholder will be replaced with an empty string. /// And you can use the simple glob pattern `*` to match any character. /// e.g. "covers/{artist}/{album}/cover.*", "covers/{artist}/{album}/*", /// @@ -34,8 +35,9 @@ pub struct Arguments { /// The lyrics file path, if not given, the lyrics will be searched in the track's directory /// for a text file with the name "lyrics", or with the same name as the track. /// - /// You can use the placeholder "{artist}" and "{album}" and "{title}" in the path, - /// they will be replaced with the corresponding metadata. + /// You can use the placeholder "{artist}" and "{album}" and "{title}" and "{track_number}" and + /// "{disc_number}" and "{year}" and "{genre}" in the path, they will be replaced with the corresponding metadata. + /// but if the metadata is not available, the placeholder will be replaced with an empty string. /// And you can use the simple glob pattern `*` to match any character. /// e.g. "lyrics/{artist}/{album}/{title}.lrc", "lyrics/{artist}/{album}/*", ///