193
193
static const char short_options[] =
194
194
"D:Ef:F:hi:I:J:l:o:O:rU:v";
195
195
static const struct option long_options[] = {
196
{ "debug", 1, 0, LONG_OPT_DEBUG },
197
{ "define", 1, 0, 'D' },
198
{ "endianess", 1, 0, LONG_OPT_ENDIANESS },
199
{ "help", 0, 0, 'h' },
200
{ "include-dir", 1, 0, 'I' },
201
{ "input", 1, 0, 'i' },
202
{ "input-format", 1, 0, 'J' },
203
{ "language", 1, 0, 'l' },
204
{ "no-use-temp-file", 0, 0, LONG_OPT_NOTMPFILE },
205
{ "nostdinc", 0, 0, LONG_OPT_NOSTDINC },
206
{ "output", 1, 0, 'o' },
207
{ "output-format", 1, 0, 'O' },
208
{ "pedantic", 0, 0, LONG_OPT_PEDANTIC },
209
{ "preprocessor", 1, 0, LONG_OPT_PREPROCESSOR },
210
{ "target", 1, 0, 'F' },
211
{ "undefine", 1, 0, 'U' },
212
{ "use-temp-file", 0, 0, LONG_OPT_TMPFILE },
213
{ "verbose", 0, 0, 'v' },
214
{ "verify-translations", 0, 0, LONG_OPT_VERIFY_TRANSL },
215
{ "version", 0, 0, LONG_OPT_VERSION },
196
{ "debug", 1, NULL, LONG_OPT_DEBUG },
197
{ "define", 1, NULL, 'D' },
198
{ "endianess", 1, NULL, LONG_OPT_ENDIANESS },
199
{ "help", 0, NULL, 'h' },
200
{ "include-dir", 1, NULL, 'I' },
201
{ "input", 1, NULL, 'i' },
202
{ "input-format", 1, NULL, 'J' },
203
{ "language", 1, NULL, 'l' },
204
{ "no-use-temp-file", 0, NULL, LONG_OPT_NOTMPFILE },
205
{ "nostdinc", 0, NULL, LONG_OPT_NOSTDINC },
206
{ "output", 1, NULL, 'o' },
207
{ "output-format", 1, NULL, 'O' },
208
{ "pedantic", 0, NULL, LONG_OPT_PEDANTIC },
209
{ "preprocessor", 1, NULL, LONG_OPT_PREPROCESSOR },
210
{ "target", 1, NULL, 'F' },
211
{ "undefine", 1, NULL, 'U' },
212
{ "use-temp-file", 0, NULL, LONG_OPT_TMPFILE },
213
{ "verbose", 0, NULL, 'v' },
214
{ "verify-translations", 0, NULL, LONG_OPT_VERIFY_TRANSL },
215
{ "version", 0, NULL, LONG_OPT_VERSION },
219
219
static void set_version_defines(void)