aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/invoke.texi10
2 files changed, 10 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d86dea8..0854db6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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):
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index bf8bcfb..57491f1 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -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