bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

collect2 outputs help to stderr


From: Simon Howard
Subject: collect2 outputs help to stderr
Date: Mon, 11 Oct 2004 15:52:15 +0000

The collect2 program, part of ld, gives the output from its --help
option to stderr rather than stdout.  This makes it impossible to type
"collect2 | more" to display the help a page at a time.  It also
contravenes the GNU coding standards which specify that output should
be to stdout:

http://www.gnu.org/prep/standards/standards.html#Command_002dLine-Interfaces

--help
    This option should output brief documentation for how to invoke
the program, on standard output, then exit successfully.

This is with GNU ld version 2.15

-- 
Simon Howard
http://fraggle.alkali.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]