docs: Use @var{S} etc. in Spec File invoke.texi documentation
commitdb41057a94fe6cd556b3beedc0f5088ea485f950
authorJakub Jelinek <jakub@redhat.com>
Wed, 27 Mar 2024 14:41:59 +0000 (27 15:41 +0100)
committerJakub Jelinek <jakub@redhat.com>
Wed, 27 Mar 2024 14:41:59 +0000 (27 15:41 +0100)
treef965a10028c77f15849a9e5e014bbffed1a910a3
parenta6c630c314b099f64d79055964d88b257459cf13
docs: Use @var{S} etc. in Spec File invoke.texi documentation

We got internally a question about the Spec File syntax, misunderstanding
what is the literal syntax and what are the placeholder variables in
the syntax descriptions.
The following patch attempts to use @var{S} etc. instead of just S
to clarify it stands for any option (or start of option etc.) rather
than literal S, say in %{S:X}.  At least in HTML documentation it
then uses italics.

2024-03-27  Jakub Jelinek  <jakub@redhat.com>

* doc/invoke.texi (Spec Files): Use @var{S} instead of S,
@var{X} instead of X etc. for other placeholders.
gcc/doc/invoke.texi