You copied the Doc URL to your clipboard.

--brief_diagnostics, --no_brief_diagnostics

This option enables or disables the output of brief diagnostic messages by the compiler.

When enabled, the original source line is not displayed, and error message text is not wrapped if it is too long to fit on a single line.


The default is --no_brief_diagnostics.


/* main.c */
#include <stdio.h>
int main(void)
   printf(""Hello, world\n"); // Intentional quotation mark error
   return 0;

Compiling this code with --brief_diagnostics produces:

"main.c", line 5: Error:  #18: expected a ")"
"main.c", line 5: Error:  #7: unrecognized token
"main.c", line 5: Error:  #8: missing closing quote
"main.c", line 6: Error:  #65: expected a ";"