summaryrefslogtreecommitdiff
path: root/patternutils/commands/tmv.py
diff options
context:
space:
mode:
authorDennis Fink2020-09-23 09:40:58 +0200
committerDennis Fink2020-09-23 09:40:58 +0200
commit042b00fd50e09c2610e2c1e906769ccdd45d5b9c (patch)
tree0b33ccf807ffe6502082396832fe3eef6879ef9c /patternutils/commands/tmv.py
parent7917ff35e25f7335b8ef2c64233ec3270085515f (diff)
downloadpatternutils-042b00fd50e09c2610e2c1e906769ccdd45d5b9c.tar.gz
patternutils-042b00fd50e09c2610e2c1e906769ccdd45d5b9c.zip
Better error message if the template/regex/command file is not found
Diffstat (limited to 'patternutils/commands/tmv.py')
-rw-r--r--patternutils/commands/tmv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/patternutils/commands/tmv.py b/patternutils/commands/tmv.py
index 1b25441..3e92342 100644
--- a/patternutils/commands/tmv.py
+++ b/patternutils/commands/tmv.py
@@ -114,7 +114,7 @@ def tmv(
output_pattern, "tmv"
)
except FileNotFoundError:
- click.secho("File not found!", fg="red", err=True)
+ click.secho(f"Template {output_pattern} not found!", fg="red", err=True)
raise SystemExit
except RuntimeError:
click.secho("Multiple files found!", fg="red", err=True)