summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Fink2021-12-30 21:55:50 +0100
committerDennis Fink2021-12-30 21:55:50 +0100
commit29989fd5fca9e42230557d7ffd5f6849433fd99f (patch)
tree29f377d9aa23b7a40bf36fc0b5c091e2bd9892bc
parent73aa868d7a39e306a548b375b4579fdb8f8dd900 (diff)
downloadpatternutils-29989fd5fca9e42230557d7ffd5f6849433fd99f.tar.gz
patternutils-29989fd5fca9e42230557d7ffd5f6849433fd99f.zip
Fix typo in patterncfg
Diffstat (limited to '')
-rw-r--r--patternutils/commands/patterncfg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/patternutils/commands/patterncfg.py b/patternutils/commands/patterncfg.py
index 8f85b8f..3421f39 100644
--- a/patternutils/commands/patterncfg.py
+++ b/patternutils/commands/patterncfg.py
@@ -143,7 +143,7 @@ def view(name: str, command: str, color: bool) -> None:
lexer = Python3Lexer
text = highlight(text, lexer(), TerminalFormatter())
elif color and not has_pygments:
- click.echo(
+ click.secho(
"Pygments is not installed!. Cannot colorize output.",
fg="red",
err=True,