From d5386bb9a74b80e363d413241d1bf50ad8110e9a Mon Sep 17 00:00:00 2001 From: albertony <12441419+albertony@users.noreply.github.com> Date: Thu, 28 Aug 2025 09:07:26 +0200 Subject: [PATCH] docs: fix description of regex syntax of name transform --- lib/transform/gen_help.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/transform/gen_help.go b/lib/transform/gen_help.go index 75bbb18d6..ec93ea2a0 100644 --- a/lib/transform/gen_help.go +++ b/lib/transform/gen_help.go @@ -33,7 +33,7 @@ var commandList = []commands{ {command: "--name-transform suffix_keep_extension=XXXX", description: "Appends XXXX to the file name while preserving the original file extension."}, {command: "--name-transform trimprefix=XXXX", description: "Removes XXXX if it appears at the start of the file name."}, {command: "--name-transform trimsuffix=XXXX", description: "Removes XXXX if it appears at the end of the file name."}, - {command: "--name-transform regex=/pattern/replacement/", description: "Applies a regex-based transformation."}, + {command: "--name-transform regex=pattern/replacement", description: "Applies a regex-based transformation."}, {command: "--name-transform replace=old:new", description: "Replaces occurrences of old with new in the file name."}, {command: "--name-transform date={YYYYMMDD}", description: "Appends or prefixes the specified date format."}, {command: "--name-transform truncate=N", description: "Truncates the file name to a maximum of N characters."},