This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Correct gas manpage
- From: Marek Polacek <polacek at redhat dot com>
- To: binutils <binutils at sourceware dot org>
- Date: Mon, 29 Oct 2012 12:15:40 +0100
- Subject: [PATCH] Correct gas manpage
The manpage says that options -v and -version of as are identical. But this
seems not to be the case:
$ ./as-new -version
GNU assembler (GNU Binutils) 2.23.51.20121029
Copyright 2012 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `x86_64-unknown-linux-gnu'.
$ ./as-new -v
GNU assembler version 2.23.51 (x86_64-unknown-linux-gnu) using BFD version (GNU Binutils) 2.23.51.20121029
So this patch ought to correct this.
2012-10-29 Marek Polacek <polacek@redhat.com>
* doc/as.texinfo: Option -version is identical with --version,
not -v.
--- gas/doc/as.texinfo.mp 2012-10-29 11:44:05.042012090 +0100
+++ gas/doc/as.texinfo 2012-10-29 11:45:51.935259432 +0100
@@ -707,10 +707,10 @@ assembly.
Remove local absolute symbols from the outgoing symbol table.
@item -v
-@itemx -version
Print the @command{as} version.
-@item --version
+@item -version
+@itemx --version
Print the @command{as} version and exit.
@item -W
@@ -2306,12 +2306,10 @@ For example, it disables the exception f
@section Announce Version: @option{-v}
@kindex -v
-@kindex -version
@cindex assembler version
@cindex version of assembler
You can find out what version of as is running by including the
-option @samp{-v} (which you can also spell as @samp{-version}) on the
-command line.
+option @samp{-v}.
@node W
@section Control Warnings: @option{-W}, @option{--warn}, @option{--no-warn}, @option{--fatal-warnings}
Marek