This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR bootstrap/10169: Use getopt_long in mips-tfile.c


On Tue, 20 May 2003, Roger Sayle wrote:

> Rather than just provide an empty long options table to getopt_long,
> I decided to bring both programs one step closer to following GNU
> standards, by accepting --version, which is equivalent to -v.  The
> code to display a version number was already present in mips-tfile.c
> and this implementation was simply copied into mips-tdump.c.

The code in question, old and new, does not follow what the GNU Coding
Standards say about the output of --version.  See what e.g. gcc --version
does for examples of the correct format.

-- 
Joseph S. Myers
jsm28@cam.ac.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]