From: Jakub Jelinek Date: Thu, 24 Nov 2022 10:51:34 +0000 (+0100) Subject: c++: Further -fcontract* option description fixes X-Git-Tag: upstream/13.1.0~2954 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=138ee8f7453ffdd6856caf35cf32be6661086a54;p=platform%2Fupstream%2Fgcc.git 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=: 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 * c.opt (fcontract-role=, fcontract-semantic=): Terminate descriptions with a dot. --- diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt index 4b05391..0d0ad0a 100644 --- a/gcc/c-family/c.opt +++ b/gcc/c-family/c.opt @@ -1713,11 +1713,11 @@ C++ Joined RejectNegative fcontract-role= C++ Joined RejectNegative --fcontract-role=: 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=: 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=: Specify the concrete semantics for level +-fcontract-semantic=: Specify the concrete semantics for level. fcoroutines C++ LTO Var(flag_coroutines)