]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
cobol: Fix up -Wmove-index option description
authorJakub Jelinek <jakub@redhat.com>
Tue, 20 Jan 2026 00:18:51 +0000 (01:18 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 20 Jan 2026 00:20:07 +0000 (01:20 +0100)
I'm seeing
FAIL: compiler driver --help=warnings option(s): "^ +-.*[^:.]\$" absent from output: "  -Wmove-index                Warn if MOVE INDEX is used"
That is a test which verifies all option descriptions end with a dot or semicolon.

Fixed thusly:

2026-01-20  Jakub Jelinek  <jakub@redhat.com>

* lang.opt (Wmove-index): Add missing dot at the end of description.

gcc/cobol/lang.opt

index e04ba86dad99c8a6150d2a5494b2a73218864cc5..d6c2b3cea5567267f2b9a3296ed6b2cb05f7664c 100644 (file)
@@ -141,7 +141,7 @@ Warn if ANY LENGTH is used in outermost program.
 ; MfMoveIndex
 Wmove-index
 Cobol Warning Var(move_index, 1) Init(1)
-Warn if MOVE INDEX is used
+Warn if MOVE INDEX is used.
 
 ; MfMovePointer
 Wmove-pointer