From 616e0db9364314bea5f88279469a18fc06450db3 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Thu, 18 Oct 2018 18:43:00 +0100 Subject: [PATCH] Improve -dumpversion and -dumpfullversion documentation * doc/invoke.texi (-dumpversion): Improve grammar. (-dumpfullversion): Make more consistent with -dumpversion. From-SVN: r265276 --- gcc/ChangeLog | 5 +++++ gcc/doc/invoke.texi | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d86dea87213..0854db68602 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-10-18 Jonathan Wakely + + * doc/invoke.texi (-dumpversion): Improve grammar. + (-dumpfullversion): Make more consistent with -dumpversion. + 2018-10-18 Uros Bizjak * config/i386/i386.c (ix86_emit_fp_unordered_jump): diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index bf8bcfb2907..57491f1033c 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 -- 2.30.2