doc: Update -Wbidi-chars documentation
authorMarek Polacek <polacek@redhat.com>
Fri, 28 Jan 2022 20:56:42 +0000 (15:56 -0500)
committerMarek Polacek <polacek@redhat.com>
Fri, 28 Jan 2022 20:58:41 +0000 (15:58 -0500)
gcc/ChangeLog:

* doc/invoke.texi: Update -Wbidi-chars documentation.

gcc/doc/invoke.texi

index 9e588db..cfd4151 100644 (file)
@@ -7822,7 +7822,9 @@ characters.
 
 By default, this warning does not warn about UCNs.  It is, however, possible
 to turn on such checking by using @option{-Wbidi-chars=unpaired,ucn} or
-@option{-Wbidi-chars=any,ucn}.
+@option{-Wbidi-chars=any,ucn}.  Using @option{-Wbidi-chars=ucn} is valid,
+and is equivalent to @option{-Wbidi-chars=unpaired,ucn}, if no previous
+@option{-Wbidi-chars=any} was specified.
 
 @item -Wbool-compare
 @opindex Wno-bool-compare