diff mbox series

[committed] d: Fix mistakes in strings to be translated [PR104552]

Message ID 20220311223729.500036-1-ibuclaw@gdcproject.org
State New
Headers show
Series [committed] d: Fix mistakes in strings to be translated [PR104552] | expand

Commit Message

Iain Buclaw March 11, 2022, 10:37 p.m. UTC
Hi,

This patch addresses comments made in PR104552 about documented D
language options.

Bootstrapped and committed to mainline.

Regards,
Iain.

---
gcc/d/ChangeLog:

	PR translation/104552
	* lang.opt (fdump-cxx-spec=): Fix typo in argument handle.
	(fpreview=fixaliasthis): Quote `alias this' as code.
---
 gcc/d/lang.opt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/gcc/d/lang.opt b/gcc/d/lang.opt
index 491797a1b6b..7859e1583c8 100644
--- a/gcc/d/lang.opt
+++ b/gcc/d/lang.opt
@@ -277,7 +277,7 @@  Add comments for ignored declarations in the generated C++ header.
 
 fdump-c++-spec=
 D RejectNegative Joined
--fdump-cxx-spec=<filename>	Write all declarations as C++ code to <file>.
+-fdump-cxx-spec=<filename>	Write all declarations as C++ code to <filename>.
 
 fdump-d-original
 D
@@ -370,7 +370,7 @@  Use field-wise comparisons for struct equality.
 
 fpreview=fixaliasthis
 D RejectNegative
-When a symbol is resolved, check alias this scope before going to upper scopes.
+When a symbol is resolved, check `alias this' scope before going to upper scopes.
 
 fpreview=in
 D RejectNegative