summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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,