]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: Further -fcontract* option description fixes
authorJakub Jelinek <jakub@redhat.com>
Thu, 24 Nov 2022 10:51:34 +0000 (11:51 +0100)
committerJakub Jelinek <jakub@redhat.com>
Thu, 24 Nov 2022 10:51:34 +0000 (11:51 +0100)
commit138ee8f7453ffdd6856caf35cf32be6661086a54
tree725da37d25da167172b750665b4dc5be2c665ed1
parentb6330a7685476fc30b8ae9bbf3fca1a9b0d4be95
c++: Further -fcontract* option description fixes

During testing I've missed my previous patch just changed:
-FAIL: compiler driver --help=c++ option(s): "^ +-.*[^:.]\$" absent from output: "  -fcontract-build-level=[off|default|audit] Specify max contract level to generate runtime checks for"
+FAIL: compiler driver --help=c++ option(s): "^ +-.*[^:.]\$" absent from output: "  -fcontract-role=<name>:<semantics> Specify the semantics for all levels in a role (default, review), or a custom contract role with given semantics (ex: opt:assume,assume,assume)"
rather than actually fixed it, the test only reports the first such problem.

This patch fixes the remaining ones.

2022-11-24  Jakub Jelinek  <jakub@redhat.com>

* c.opt (fcontract-role=, fcontract-semantic=): Terminate descriptions
with a dot.
gcc/c-family/c.opt