------- Comment #3 from manu at gcc dot gnu dot org  2010-04-09 07:28 -------
(In reply to comment #1)
> This is actually expected, though I cannot find it documented anywhere.  I
> thought I had saw it in the documentation at one point.  Almost all --* 
> options
> are converted over to -f* to conform to the GNU coding style of long option
> names.

Even if it is expected, it is a hack and totally confusing for users. I don't
see a problem of leaving this open as a way to say: "We are happy if someone
fixes this without breaking anything else".

And even if what you say about GNU coding style were true, this is not how most
GNU programs behave nowadays, so perhaps the coding style is outdated.

grep --hlep
grep: unrecognized option `--hlep'

gcc --hlep test.c
cc1: error: unrecognized command line option "-fhlep"

Commandline handling on the driver is one of those hackish parts of the
compiler that everybody is afraid to touch, and the longer it takes, the more
difficult it becomes.

So CONFIRMED and patches welcome.


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu dot org
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-04-09 07:28:04
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43687

Reply via email to