commandline help

Jeffrey A Law law@cygnus.com
Fri Feb 13 02:16:00 GMT 1998


  In message < 19980213035220.52024@cerebro.laendle >you write:
  > 
  > bad: gcc -? doesn't give reasonable output.
I don't think we want a -? option.  I would recommend we stick with --help
as that's the GNU standard option for command line help.

  > it can be enabled with configure --enable-clh.. the patch needs some
  > tuning, but it was tested in pgcc for some time..
I woudn't bother making it a configure option -- always include it.

  > is it possible to have it included into egcs someday? I can sent it in
  > for review in a few days, maybe weeks, depending on when it is fixed.
I think this would be useful.  The only trick is making sure that it
gives accurate help :-)

Do we want to dump all the options available? (and there's a lot of them!).
If so, I would recommend we actally parse f_options and the machine dependent
options intead of creating yet another place where we have to maintain
them.

jeff



More information about the Gcc mailing list