From 43fa0c0adc1e96db799c5f38943a863311452d56 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 12 Feb 2023 09:43:03 +0100 Subject: doc: clarify diagnostic level output. Close #2351 --- doc/using/InvokingGHDL.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'doc/using') diff --git a/doc/using/InvokingGHDL.rst b/doc/using/InvokingGHDL.rst index a4b9b1b51..624b789ab 100644 --- a/doc/using/InvokingGHDL.rst +++ b/doc/using/InvokingGHDL.rst @@ -747,7 +747,11 @@ Diagnostics Control .. option:: -fcolor-diagnostics .. option:: -fno-color-diagnostics - Control whether diagnostic messages are displayed in color. The default is on when the standard output is a terminal. + Control whether diagnostic messages are displayed in color. The + default is on when the standard output is a terminal. For + compatibility with other tools, when colors are enabled the + diagnostic level is always displayed. When colors are not enabled, + level ``error`` is not displayed. .. option:: -fdiagnostics-show-option .. option:: -fno-diagnostics-show-option -- cgit v1.2.3