-static const char *progname = "cdecl99";
-static const char sopts[] = "qbif:e:VH";
-#define RAW_LOPTS \
- { PN_("longopt", "quiet"), 0, NULL, 'q' }, \
- { PN_("longopt", "batch"), 0, NULL, 'b' }, \
- { PN_("longopt", "interactive"), 0, NULL, 'i' }, \
- { PN_("longopt", "file"), 1, NULL, 'f' }, \
- { PN_("longopt", "execute"), 1, NULL, 'e' }, \
- { PN_("longopt", "version"), 0, NULL, 'V' }, \
- { PN_("longopt", "help"), 0, NULL, 'H' }
-
-/*
- * With NLS, we need a buffer big enough to store the translated options.
- * The translations will be filled in at program startup.
- */
-enum { NOPTS = sizeof (struct option[]){RAW_LOPTS} / sizeof (struct option) };
-static struct option lopts[NOPTS + !!ENABLE_NLS * NOPTS + 1] = { RAW_LOPTS };
-
-static struct helptext {
- int val;
- const char *text;
- const char *argname;
-} helptext[] = {
- /*
- * TRANSLATORS: Help messages are indented 20 spaces and thus should
- * not have lines longer than 60 columns.
- */
- { 'q', N_("Suppress the welcome message.\n") },
- { 'b', N_("Execute commands as normal, but do not print any prompts.\n") },
- { 'i', N_("Run in interactive mode. This is the default.\n") },
- { 'f', N_("Read commands from FILE instead of standard input.\n"),
- PN_("longopt|file", "FILE") },
- { 'e', N_("Execute COMMAND as if it were entered at the prompt.\n"
- "This can be specified multiple times.\n"),
- PN_("longopt|execute", "COMMAND") },
- { 'V', N_("Print a version message and then exit.\n") },
- { 'H', N_("Print this message.\n") },
-
- /* TRANSLATORS: ARG is only used for options without help text. */
- { 0, NULL, PN_("longopt", "ARG") }
-};