Improve -dumpversion and -dumpfullversion documentation

* doc/invoke.texi (-dumpversion): Improve grammar.
	(-dumpfullversion): Make more consistent with -dumpversion.

From-SVN: r265276
This commit is contained in:
Jonathan Wakely 2018-10-18 18:43:00 +01:00 committed by Jonathan Wakely
parent b75dff03b7
commit 616e0db936
2 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2018-10-18 Jonathan Wakely <jwakely@redhat.com>
* doc/invoke.texi (-dumpversion): Improve grammar.
(-dumpfullversion): Make more consistent with -dumpversion.
2018-10-18 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.c (ix86_emit_fp_unordered_jump):

View File

@ -14860,16 +14860,16 @@ Print the compiler's target machine (for example,
@item -dumpversion
@opindex dumpversion
Print the compiler version (for example, @code{3.0}, @code{6.3.0} or @code{7})---and don't do
anything else. This is the compiler version used in filesystem paths,
specs, can be depending on how the compiler has been configured just
a single number (major version), two numbers separated by dot (major and
anything else. This is the compiler version used in filesystem paths and
specs. Depending on how the compiler has been configured it can be just
a single number (major version), two numbers separated by a dot (major and
minor version) or three numbers separated by dots (major, minor and patchlevel
version).
@item -dumpfullversion
@opindex dumpfullversion
Print the full compiler version, always 3 numbers separated by dots,
major, minor and patchlevel version.
Print the full compiler version---and don't do anything else. The output is
always three numbers separated by dots, major, minor and patchlevel version.
@item -dumpspecs
@opindex dumpspecs