From: Douglas Gregor Date: Fri, 9 Jul 2010 16:31:58 +0000 (+0000) Subject: Document -f{no-}color-diagnostics X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e8d44dd52cd484e486945470bcdf4ae47027dec5;p=clang Document -f{no-}color-diagnostics git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107985 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/UsersManual.html b/docs/UsersManual.html index 049711abf8..51e699fc32 100644 --- a/docs/UsersManual.html +++ b/docs/UsersManual.html @@ -251,11 +251,28 @@ when this is enabled, Clang will print something like:

When this is disabled, Clang will just print:

-  test.c:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
+  test.c:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
+  #endif bad
+         ^
+         //
 
+ +
-f[no-]color-diagnostics:
+
This option, which defaults to on when a color-capable terminal is + detected, controls whether or not Clang prints diagnostics in color. + When this option is enabled, Clang will use colors to highlight + specific parts of the diagnostic, e.g., + +
+
+
'
-f[no-]diagnostics-show-option: Enable [-Woption] information in diagnostic line.