Re: [help-gengetopt] option name collision wi th builtin 'include' special directive

"Papp Gyozo (VBuster)" <[email protected]> Tue, 26 Oct 2010 17:07:30 +0200
Newsgroups gmane.comp.gnu.gengetopt.general
Message-ID <[email protected]>
> if you're in crazy hurry, I suggest you to manually modify the generat=
ed=20
> parser and remove the use of "include" as a keyword with another strin=
g=20
> (e.g., "FOOBAR"), in the line
>=20
> if (!strcmp(fopt,"include")) {
>=20
> this is a dirty hack but at least will keep you going for the moment.

Thanks.

> Then, we can think of a solution for this... e.g., using an escape=20
> character for options whose name is right "include", e.g., "\include".=
..

I think that an option to disable this feature would be fine and enough.
This approach (dedicated option to switch on/off a specific feature) wor=
ked well in the past and this would cause less headache in the community=
.
=20
> hope to hear from you soon

So do I :)