doc: formatting fixes

Message ID mvm5yfmc3v6.fsf@suse.de
State New
Headers
Series doc: formatting fixes |

Commit Message

Andreas Schwab Nov. 10, 2022, 1:53 p.m. UTC
  gcc/
	* doc/gcc/gcc-command-options/option-summary.rst: Fix formatting.
---
 gcc/doc/gcc/gcc-command-options/option-summary.rst | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
  

Comments

Martin Liška Nov. 10, 2022, 3:14 p.m. UTC | #1
On 11/10/22 14:53, Andreas Schwab via Gcc-patches wrote:
> gcc/
> 	* doc/gcc/gcc-command-options/option-summary.rst: Fix formatting.
> ---
>   gcc/doc/gcc/gcc-command-options/option-summary.rst | 8 ++------
>   1 file changed, 2 insertions(+), 6 deletions(-)
> 
> diff --git a/gcc/doc/gcc/gcc-command-options/option-summary.rst b/gcc/doc/gcc/gcc-command-options/option-summary.rst
> index 388da445591..acc70920bad 100644
> --- a/gcc/doc/gcc/gcc-command-options/option-summary.rst
> +++ b/gcc/doc/gcc/gcc-command-options/option-summary.rst
> @@ -1209,10 +1209,8 @@ in the following sections.
>     :option:`-malign-data=type` |gol|
>     :option:`-mbig-endian`  :option:`-mlittle-endian` |gol|
>     :option:`-mstack-protector-guard=guard`  :option:`-mstack-protector-guard-reg=reg` |gol|
> -  :option:`-mstack-protector-guard-offset=offset`
> -  -mcsr-check -mno-csr-check
> -
> -  .. program:: -mcsr-check -mno-csr-check
> +  :option:`-mstack-protector-guard-offset=offset` |gol|
> +  :option:`-mcsr-check`  :option:`-mno-csr-check`
>   
>     *RL78 Options*
>   
> @@ -1524,5 +1522,3 @@ in the following sections.
>     *zSeries Options*
>   
>     See :ref:`s-390-and-zseries-options`.
> -
> -  .. program:: None

This is not correct as 'program:: None' means we reset to default program after
we define options for specific targets (program::Xtensa, ...).

Martin
  

Patch

diff --git a/gcc/doc/gcc/gcc-command-options/option-summary.rst b/gcc/doc/gcc/gcc-command-options/option-summary.rst
index 388da445591..acc70920bad 100644
--- a/gcc/doc/gcc/gcc-command-options/option-summary.rst
+++ b/gcc/doc/gcc/gcc-command-options/option-summary.rst
@@ -1209,10 +1209,8 @@  in the following sections.
   :option:`-malign-data=type` |gol|
   :option:`-mbig-endian`  :option:`-mlittle-endian` |gol|
   :option:`-mstack-protector-guard=guard`  :option:`-mstack-protector-guard-reg=reg` |gol|
-  :option:`-mstack-protector-guard-offset=offset`
-  -mcsr-check -mno-csr-check
-
-  .. program:: -mcsr-check -mno-csr-check
+  :option:`-mstack-protector-guard-offset=offset` |gol|
+  :option:`-mcsr-check`  :option:`-mno-csr-check`
 
   *RL78 Options*
 
@@ -1524,5 +1522,3 @@  in the following sections.
   *zSeries Options*
 
   See :ref:`s-390-and-zseries-options`.
-
-  .. program:: None