aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/ux.texi
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/doc/ux.texi')
-rw-r--r--gcc/doc/ux.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/ux.texi b/gcc/doc/ux.texi
index 243b3e0..22df88f 100644
--- a/gcc/doc/ux.texi
+++ b/gcc/doc/ux.texi
@@ -407,7 +407,7 @@ Use @code{auto_diagnostic_group} when issuing multiple related
diagnostics (seen in various examples on this page). This informs the
diagnostic subsystem that all diagnostics issued within the lifetime
of the @code{auto_diagnostic_group} are related. For example,
-@option{-fdiagnostics-format=json} will treat the first diagnostic
+@option{-fdiagnostics-add-output=sarif} will treat the first diagnostic
emitted within the group as a top-level diagnostic, and all subsequent
diagnostics within the group as its children. Also, if a warning in the
group is inhibited at nesting depth D, all subsequent notes at that depth