aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/gcc.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1647c2f..2640f37 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,7 @@
2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+ * gcc.c (display_help): Document --version.
+
* gcc.c (main): If print_help_list and verbose_flag, ensure
driver output comes before subprocess output.
diff --git a/gcc/gcc.c b/gcc/gcc.c
index c2850bf..cf85618 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -3232,6 +3232,7 @@ display_help (void)
fputs (_(" Display specific types of command line options\n"), stdout);
if (! verbose_flag)
fputs (_(" (Use '-v --help' to display command line options of sub-processes)\n"), stdout);
+ fputs (_(" --version Display compiler version information\n"), stdout);
fputs (_(" -dumpspecs Display all of the built in spec strings\n"), stdout);
fputs (_(" -dumpversion Display the version of the compiler\n"), stdout);
fputs (_(" -dumpmachine Display the compiler's target processor\n"), stdout);