From 29989fd5fca9e42230557d7ffd5f6849433fd99f Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Thu, 30 Dec 2021 21:55:50 +0100 Subject: Fix typo in patterncfg --- patternutils/commands/patterncfg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.3.1