From 5571e3889899a46051089ea40073adc583f56aa4 Mon Sep 17 00:00:00 2001 From: Pedro de Oliveira Date: Thu, 11 May 2023 20:03:25 +0100 Subject: [PATCH] Remove `` from clap comments. Rewrite a bit the comment of the replacement input argument. --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 7fe0493..23a9b20 100644 --- a/src/main.rs +++ b/src/main.rs @@ -27,11 +27,11 @@ struct Args { /// Replacement pattern for the matched file names. /// - /// You can use `{1}`, `{2}`, etc. to reference the match groups in the pattern. - /// There are also the following tags available: + /// The following tags are available: /// * {full_name} - file name with extension /// * {name} - file name without extension /// * {ext} - extension + /// * {1}, {2}, etc. to reference the match groups in the search pattern. /// Example: "Season {1} Episode {2}.{ext}" #[arg(short = 'r', long, verbatim_doc_comment)] replacement: String,