From e5dfddfb79ca5469eaa950b3ab1accf589f1bb53 Mon Sep 17 00:00:00 2001 From: Jamie Hardt Date: Sun, 30 Jun 2024 14:19:08 -0700 Subject: [PATCH] Added some documentation for special file keys. --- mfbatch/commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mfbatch/commands.py b/mfbatch/commands.py index 8f226d0..f233b5b 100644 --- a/mfbatch/commands.py +++ b/mfbatch/commands.py @@ -255,7 +255,8 @@ they appear in the batchfile. setp KEY INPUT PATTERN REPL KEY will be set to the result of re.sub(PATTERN, REPL, INPUT). Patterns are evaluated in the order they appear in the batchfile, once for each - file that appears in the batchfile before writing. + file that appears in the batchfile before writing. INPUT can use the + special keys _FILENAME, _ABSPATH, and _FOLDER. """ key = args[0] inp = args[1]