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.
This commit is contained in:
Jakub Jelinek 2022-11-24 11:51:34 +01:00
parent b6330a7685
commit 138ee8f745

View file

@ -1713,11 +1713,11 @@ C++ Joined RejectNegative
fcontract-role=
C++ Joined RejectNegative
-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)
-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).
fcontract-semantic=
C++ Joined RejectNegative
-fcontract-semantic=<level>:<semantic> Specify the concrete semantics for level
-fcontract-semantic=<level>:<semantic> Specify the concrete semantics for level.
fcoroutines
C++ LTO Var(flag_coroutines)