This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA/C] Break out C options into a separate file
- From: Geoff Keating <geoffk at geoffk dot org>
- To: Neil Booth <neil at daikokuya dot co dot uk>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 20 May 2003 16:38:16 -0700
- Subject: Re: [RFA/C] Break out C options into a separate file
- References: <20030520221643.GB32072@daikokuya.co.uk>
I have some suggestions:
1. Please please put the '--help' output in the file with the options, if
at all possible. (In fact, it'd be pretty cool if the documentation could
go there too, because that way adding an extra option would require
changing only one place.)
2. You might want to consider using a C program, rather than a shell script,
to parse the options file; that might be more maintainable in the long run.
(Or maybe not, but think about it.)
--
- Geoffrey Keating <geoffk@geoffk.org>