+#if HELP_GETOPT_LONG_ONLY
+/* String table generated by gen-strtab.awk from help-glo.str */
+#define STRTAB_INITIALIZER \
+ N_(" -%s [%s]") \
+ "\0" N_(" -%s %s") \
+ "\0" N_(" -%s") \
+ ""
+enum {
+ fmt_long_optional_arg = 0,
+ fmt_long_mandatory_arg = 11,
+ fmt_long_without_arg = 20
+};
+#else
+/* String table generated by gen-strtab.awk from help-std.str */
+#define STRTAB_INITIALIZER \
+ N_(" -%c, --%s[=%s]") \
+ "\0" N_(" -%c, --%s=%s") \
+ "\0" N_(" --%s[=%s]") \
+ "\0" N_(" -%c, --%s") \
+ "\0" N_(" --%s=%s") \
+ "\0" N_(" --%s") \
+ ""
+enum {
+ fmt_short_optional_arg = 0,
+ fmt_long_optional_arg = 32,
+ fmt_short_mandatory_arg = 17,
+ fmt_long_mandatory_arg = 56,
+ fmt_short_without_arg = 44,
+ fmt_long_without_arg = 66
+};
+#endif
+
+static const struct optstr {
+ unsigned char map[HELP_GETOPT_LONG_ONLY ? 3 : 7];
+ char tab[sizeof (STRTAB_INITIALIZER)];
+} optstr = {
+ {
+ offsetof(struct optstr, tab) + fmt_long_without_arg,
+ offsetof(struct optstr, tab) + fmt_long_mandatory_arg,
+ offsetof(struct optstr, tab) + fmt_long_optional_arg,
+#if !HELP_GETOPT_LONG_ONLY
+ 0,
+ offsetof(struct optstr, tab) + fmt_short_without_arg,
+ offsetof(struct optstr, tab) + fmt_short_mandatory_arg,
+ offsetof(struct optstr, tab) + fmt_short_optional_arg,
+#endif
+ },
+ STRTAB_INITIALIZER
+};
+