Home | History | Annotate | Line # | Download | only in autoopts
      1 /*	$NetBSD: usage-txt.h,v 1.6 2024/08/18 20:47:25 christos Exp $	*/
      2 
      3 /*  -*- buffer-read-only: t -*- vi: set ro:
      4  *
      5  * DO NOT EDIT THIS FILE   (usage-txt.h)
      6  *
      7  * It has been AutoGen-ed
      8  * From the definitions    usage-txt.def
      9  * and the template file   usage-txt.tpl
     10  *
     11  *  This file is part of AutoOpts, a companion to AutoGen.
     12  *  AutoOpts is free software.
     13  *  AutoOpts is Copyright (C) 1992-2017 by Bruce Korb - all rights reserved
     14  *
     15  *  AutoOpts is available under any one of two licenses.  The license
     16  *  in use must be one of these two and the choice is under the control
     17  *  of the user of the license.
     18  *
     19  *   The GNU Lesser General Public License, version 3 or later
     20  *      See the files "COPYING.lgplv3" and "COPYING.gplv3"
     21  *
     22  *   The Modified Berkeley Software Distribution License
     23  *      See the file "COPYING.mbsd"
     24  *
     25  *  These files have the following sha256 sums:
     26  *
     27  *  8584710e9b04216a394078dc156b781d0b47e1729104d666658aecef8ee32e95  COPYING.gplv3
     28  *  4379e7444a0e2ce2b12dd6f5a52a27a4d02d39d247901d3285c88cf0d37f477b  COPYING.lgplv3
     29  *  13aa749a5b0a454917a944ed8fffc530b784f5ead522b1aacaf4ec8aa55a6239  COPYING.mbsd
     30  */
     31 /** @file usage-txt.h
     32  *
     33  *  This file handles all the bookkeeping required for tracking all the little
     34  *  tiny strings used by the AutoOpts library.  There are 107
     35  *  of them.  This is not versioned because it is entirely internal to the
     36  *  library and accessed by client code only in a very well-controlled way:
     37  *  they may substitute translated strings using a procedure that steps through
     38  *  all the string pointers.
     39  */
     40 #ifndef AUTOOPTS_USAGE_TXT_H_GUARD
     41 #define AUTOOPTS_USAGE_TXT_H_GUARD 1
     42 
     43 /*
     44  *  One structure to hold all the pointers to all the translatable strings.
     45  */
     46 typedef struct {
     47   int           field_ct;
     48   char *        utpz_GnuBoolArg;
     49   char *        utpz_GnuKeyArg;
     50   char *        utpz_GnuNumArg;
     51   char *        utpz_GnuStrArg;
     52   char const *  apz_str[103];
     53 } usage_text_t;
     54 
     55 /*
     56  *  Declare the global structure with all the pointers to translatable
     57  *  strings and the text array containing untranslatable strings.
     58  */
     59 extern usage_text_t option_xlateable_txt;
     60 extern char const option_lib_text[4267];
     61 
     62 #if defined(AUTOOPTS_INTERNAL)
     63 /*
     64  *  Provide a mapping from a short name to either the text directly
     65  *  (for untranslatable strings), or to pointers to the text, rendering
     66  *  them translatable.
     67  */
     68 #define zalloc_fail           (option_xlateable_txt.apz_str[  0])
     69 #define zno_opt_arg           (option_xlateable_txt.apz_str[  1])
     70 #define ztoo_new              (option_xlateable_txt.apz_str[  2])
     71 #define zwrong_ver            (option_xlateable_txt.apz_str[  3])
     72 #define zrealloc_fail         (option_xlateable_txt.apz_str[  4])
     73 #define ztoo_old              (option_xlateable_txt.apz_str[  5])
     74 #define zao_ver_fmt           (option_xlateable_txt.apz_str[  6])
     75 #define zao_bug_msg           (option_xlateable_txt.apz_str[  7])
     76 #define zno_reset             (option_xlateable_txt.apz_str[  8])
     77 #define zmissing_help_msg     (option_xlateable_txt.apz_str[  9])
     78 #define zbad_data_msg         (option_xlateable_txt.apz_str[ 10])
     79 #define zbad_arg_type_msg     (option_xlateable_txt.apz_str[ 11])
     80 #define zbad_default_msg      (option_xlateable_txt.apz_str[ 12])
     81 #define zbad_alias_id         (option_xlateable_txt.apz_str[ 13])
     82 #define zambiguous_key        (option_xlateable_txt.apz_str[ 14])
     83 #define zambig_list_msg       (option_xlateable_txt.apz_str[ 15])
     84 #define zambig_opt_fmt        (option_xlateable_txt.apz_str[ 16])
     85 #define zargs_must            (option_xlateable_txt.apz_str[ 17])
     86 #define zat_most              (option_xlateable_txt.apz_str[ 18])
     87 #define zfserr_fmt            (option_xlateable_txt.apz_str[ 19])
     88 #define zinter_proc_pipe      (option_xlateable_txt.apz_str[ 20])
     89 #define zBadVerArg            (option_xlateable_txt.apz_str[ 21])
     90 #define zconflict_fmt         (option_xlateable_txt.apz_str[ 22])
     91 #define zDisabledErr          (option_xlateable_txt.apz_str[ 23])
     92 #define zequiv                (option_xlateable_txt.apz_str[ 24])
     93 #define zGnuBoolArg           (option_xlateable_txt.utpz_GnuBoolArg)
     94 #define zGnuKeyArg            (option_xlateable_txt.utpz_GnuKeyArg)
     95 #define zGnuNumArg            (option_xlateable_txt.utpz_GnuNumArg)
     96 #define zGnuStrArg            (option_xlateable_txt.utpz_GnuStrArg)
     97 #define zIllOptChr            (option_xlateable_txt.apz_str[ 25])
     98 #define zIllOptStr            (option_xlateable_txt.apz_str[ 26])
     99 #define zIllVendOptStr        (option_xlateable_txt.apz_str[ 27])
    100 #define zIntRange             (option_xlateable_txt.apz_str[ 28])
    101 #define zbad_od               (option_xlateable_txt.apz_str[ 29])
    102 #define zInvalOptName         (option_xlateable_txt.apz_str[ 30])
    103 #define zMisArg               (option_xlateable_txt.apz_str[ 31])
    104 #define zmultiway_bug         (option_xlateable_txt.apz_str[ 32])
    105 #define zneed_one             (option_xlateable_txt.apz_str[ 33])
    106 #define zNoArg                (option_xlateable_txt.apz_str[ 34])
    107 #define zNoArgs               (option_xlateable_txt.apz_str[ 35])
    108 #define zNoCreat              (option_xlateable_txt.apz_str[ 36])
    109 #define zNoKey                (option_xlateable_txt.apz_str[ 37])
    110 #define zreset_arg            (option_xlateable_txt.apz_str[ 38])
    111 #define zNoStat               (option_xlateable_txt.apz_str[ 39])
    112 #define zNoState              (option_xlateable_txt.apz_str[ 40])
    113 #define zNotCmdOpt            (option_xlateable_txt.apz_str[ 41])
    114 #define zNotDate              (option_xlateable_txt.apz_str[ 42])
    115 #define zNotDuration          (option_xlateable_txt.apz_str[ 43])
    116 #define zneed_more            (option_xlateable_txt.apz_str[ 44])
    117 #define zNotNumber            (option_xlateable_txt.apz_str[ 45])
    118 #define znum_too_large        (option_xlateable_txt.apz_str[ 46])
    119 #define zoffer_usage_fmt      (option_xlateable_txt.apz_str[ 47])
    120 #define zonly_one             (option_xlateable_txt.apz_str[ 48])
    121 #define zstdout_name          (option_xlateable_txt.apz_str[ 49])
    122 #define zstderr_name          (option_xlateable_txt.apz_str[ 50])
    123 #define zwriting              (option_xlateable_txt.apz_str[ 51])
    124 #define zRangeErr             (option_xlateable_txt.apz_str[ 52])
    125 #define zneed_fmt             (option_xlateable_txt.apz_str[ 53])
    126 #define zsave_warn            (option_xlateable_txt.apz_str[ 54])
    127 #define zalt_opt              (option_xlateable_txt.apz_str[ 55])
    128 #define zAuto                 (option_xlateable_txt.apz_str[ 56])
    129 #define zDefaultOpt           (option_xlateable_txt.apz_str[ 57])
    130 #define zDis                  (option_xlateable_txt.apz_str[ 58])
    131 #define zDisabledOpt          (option_xlateable_txt.apz_str[ 59])
    132 #define zDisabledWhy          (option_xlateable_txt.apz_str[ 60])
    133 #define zEnab                 (option_xlateable_txt.apz_str[ 61])
    134 #define ztoo_often_fmt        (option_xlateable_txt.apz_str[ 62])
    135 #define zExamineFmt           (option_xlateable_txt.apz_str[ 63])
    136 #define zFileCannotExist      (option_xlateable_txt.apz_str[ 64])
    137 #define zFileMustExist        (option_xlateable_txt.apz_str[ 65])
    138 #define zFlagOkay             (option_xlateable_txt.apz_str[ 66])
    139 #define zGenshell             (option_xlateable_txt.apz_str[ 67])
    140 #define zLowerBits            (option_xlateable_txt.apz_str[ 68])
    141 #define zMembers              (option_xlateable_txt.apz_str[ 69])
    142 #define zMust                 (option_xlateable_txt.apz_str[ 70])
    143 #define zNoFlags              (option_xlateable_txt.apz_str[ 71])
    144 #define zNoLim                (option_xlateable_txt.apz_str[ 72])
    145 #define zNoPreset             (option_xlateable_txt.apz_str[ 73])
    146 #define zNoRq_NoShrtTtl       (option_xlateable_txt.apz_str[ 74])
    147 #define zNoRq_ShrtTtl         (option_xlateable_txt.apz_str[ 75])
    148 #define zNrmOptFmt            (option_xlateable_txt.apz_str[ 76])
    149 #define zNumberOpt            (option_xlateable_txt.apz_str[ 77])
    150 #define zOptsOnly             (option_xlateable_txt.apz_str[ 78])
    151 #define zPathFmt              (option_xlateable_txt.apz_str[ 79])
    152 #define zPlsSendBugs          (option_xlateable_txt.apz_str[ 80])
    153 #define zPreset               (option_xlateable_txt.apz_str[ 81])
    154 #define zPresetIntro          (option_xlateable_txt.apz_str[ 82])
    155 #define zProhib               (option_xlateable_txt.apz_str[ 83])
    156 #define zProhibOne            (option_xlateable_txt.apz_str[ 84])
    157 #define zRange                (option_xlateable_txt.apz_str[ 85])
    158 #define zRangeAbove           (option_xlateable_txt.apz_str[ 86])
    159 #define zRangeExact           (option_xlateable_txt.apz_str[ 87])
    160 #define zRangeLie             (option_xlateable_txt.apz_str[ 88])
    161 #define zRangeOnly            (option_xlateable_txt.apz_str[ 89])
    162 #define zRangeOr              (option_xlateable_txt.apz_str[ 90])
    163 #define zRangeScaled          (option_xlateable_txt.apz_str[ 91])
    164 #define zRangeUpto            (option_xlateable_txt.apz_str[ 92])
    165 #define zReorder              (option_xlateable_txt.apz_str[ 93])
    166 #define zReqOne               (option_xlateable_txt.apz_str[ 94])
    167 #define zReqThese             (option_xlateable_txt.apz_str[ 95])
    168 #define zReq_NoShrtTtl        (option_xlateable_txt.apz_str[ 96])
    169 #define zReq_ShrtTtl          (option_xlateable_txt.apz_str[ 97])
    170 #define zSetMemberSettings    (option_xlateable_txt.apz_str[ 98])
    171 #define zUpTo                 (option_xlateable_txt.apz_str[ 99])
    172 #define zValidKeys            (option_xlateable_txt.apz_str[100])
    173 #define zVendIntro            (option_xlateable_txt.apz_str[101])
    174 #define zVendOptsAre          (option_xlateable_txt.apz_str[102])
    175 
    176   /*
    177    *  First, set up the strings.  Some of these are writable.  These are all in
    178    *  English.  This gets compiled into libopts and is distributed here so that
    179    *  xgettext (or equivalents) can extract these strings for translation.
    180    */
    181 static char eng_zGnuBoolArg[]  = "=T/F";
    182 static char eng_zGnuKeyArg[]   = "=KWd";
    183 static char eng_zGnuNumArg[]   = "=num";
    184 static char eng_zGnuStrArg[]   = "=str";
    185 char const option_lib_text[4267] =
    186 /*     0 */ "allocation of %d bytes failed\n\0"
    187 /*    31 */ "AutoOpts function called without option descriptor\n\0"
    188 /*    83 */ "\tThis exceeds the compiled library version:  \0"
    189 /*   129 */ "Automated Options Processing Error!\n"
    190             "\t%s called AutoOpts function with structure version %d:%d:%d.\n\0"
    191 /*   228 */ "realloc of %d bytes at 0x%p failed\n\0"
    192 /*   264 */ "\tThis is less than the minimum library version:  \0"
    193 /*   314 */ "Automated Options version %s\n"
    194             "\tCopyright (C) 1999-2017 by Bruce Korb - all rights reserved\n\0"
    195 /*   405 */ "(AutoOpts bug):  %s.\n\0"
    196 /*   427 */ "optionResetOpt() called, but reset-option not configured\0"
    197 /*   484 */ "could not locate the 'help' option\0"
    198 /*   519 */ "optionProcess() was called with invalid data\0"
    199 /*   564 */ "invalid argument type specified\0"
    200 /*   596 */ "defaulted to option with optional arg\0"
    201 /*   634 */ "aliasing option is out of range.\0"
    202 /*   667 */ "%s error:  the keyword '%s' is ambiguous for %s\n\0"
    203 /*   716 */ "  The following options match:\n\0"
    204 /*   748 */ "%s: ambiguous option name: %s (matches %d options)\n\0"
    205 /*   800 */ "%s: Command line arguments required\n\0"
    206 /*   837 */ "%d %s%s options allowed\n\0"
    207 /*   862 */ "%s error %d (%s) calling %s for '%s'\n\0"
    208 /*   900 */ "interprocess pipe\0"
    209 /*   918 */ "error: version option argument '%c' invalid.  Use:\n"
    210             "\t'v' - version only\n"
    211             "\t'c' - version and copyright\n"
    212             "\t'n' - version and full copyright notice\n\0"
    213 /*  1060 */ "%s error:  the '%s' and '%s' options conflict\n\0"
    214 /*  1107 */ "%s: The '%s' option has been disabled.\0"
    215 /*  1146 */ "-equivalence\0"
    216 /*  1159 */ "%s: illegal option -- %c\n\0"
    217 /*  1185 */ "%s: illegal option -- %s\n\0"
    218 /*  1211 */ "%s: unknown vendor extension option -- %s\n\0"
    219 /*  1254 */ "  or an integer from %d through %d\n\0"
    220 /*  1290 */ "%s error:  invalid option descriptor for %s\n\0"
    221 /*  1335 */ "%s: invalid option name: %s\n\0"
    222 /*  1364 */ "%s: The '%s' option requires an argument.\n\0"
    223 /*  1407 */ "(AutoOpts bug):  Equivalenced option '%s' was equivalenced to both\n"
    224             "\t'%s' and '%s'.\0"
    225 /*  1490 */ "%s error:  The %s option is required\n\0"
    226 /*  1528 */ "%s: The '%s' option cannot have an argument.\n\0"
    227 /*  1574 */ "%s: Command line arguments are not allowed.\n\0"
    228 /*  1619 */ "error %d (%s) creating %s\n\0"
    229 /*  1646 */ "%s error:  '%s' does not match any %s keywords.\n\0"
    230 /*  1695 */ "%s error: The '%s' option requires an argument.\n\0"
    231 /*  1744 */ "error %d (%s) stat-ing %s\n\0"
    232 /*  1771 */ "%s error: no saved option state\n\0"
    233 /*  1804 */ "'%s' is not a command line option.\n\0"
    234 /*  1840 */ "%s error:  '%s' is not a recognizable date/time.\n\0"
    235 /*  1890 */ "%s error:  '%s' is not a recognizable time duration.\n\0"
    236 /*  1944 */ "%s error:  The %s option must appear %d times.\n\0"
    237 /*  1992 */ "%s error:  '%s' is not a recognizable number.\n\0"
    238 /*  2039 */ "%s error:  %s exceeds %s keyword count\n\0"
    239 /*  2079 */ "Try '%s %s' for more information.\n\0"
    240 /*  2114 */ "one %s%s option allowed\n\0"
    241 /*  2139 */ "standard output\0"
    242 /*  2155 */ "standard error\0"
    243 /*  2170 */ "write\0"
    244 /*  2176 */ "%s error:  %s option value %ld is out of range.\n\0"
    245 /*  2225 */ "%s error:  %s option requires the %s option\n\0"
    246 /*  2270 */ "%s warning:  cannot save options - %s not regular file\n\0"
    247 /*  2326 */ "\t\t\t\t- an alternate for '%s'\n\0"
    248 /*  2355 */ "Version, usage and configuration options:\0"
    249 /*  2397 */ "\t\t\t\t- default option for unnamed options\n\0"
    250 /*  2439 */ "\t\t\t\t- disabled as '--%s'\n\0"
    251 /*  2465 */ " --- %-14s %s\n\0"
    252 /*  2480 */ "This option has been disabled\0"
    253 /*  2510 */ "\t\t\t\t- enabled by default\n\0"
    254 /*  2536 */ "%s error:  only \0"
    255 /*  2553 */ " - examining environment variables named %s_*\n\0"
    256 /*  2600 */ "\t\t\t\t- file must not pre-exist\n\0"
    257 /*  2631 */ "\t\t\t\t- file must pre-exist\n\0"
    258 /*  2658 */ "Options are specified by doubled hyphens and their name or by a single\n"
    259             "hyphen and the flag character.\n\0"
    260 /*  2761 */ "\n"
    261             "= = = = = = = =\n\n"
    262             "This incarnation of genshell will produce\n"
    263             "a shell script to parse the options for %s:\n\n\0"
    264 /*  2867 */ "  or an integer mask with any of the lower %d bits set\n\0"
    265 /*  2923 */ "\t\t\t\t- is a set membership option\n\0"
    266 /*  2957 */ "\t\t\t\t- must appear between %d and %d times\n\0"
    267 /*  3000 */ "Options are specified by single or double hyphens and their name.\n\0"
    268 /*  3067 */ "\t\t\t\t- may appear multiple times\n\0"
    269 /*  3100 */ "\t\t\t\t- may not be preset\n\0"
    270 /*  3125 */ "   Arg Option-Name    Description\n\0"
    271 /*  3160 */ "  Flg Arg Option-Name    Description\n\0"
    272 /*  3198 */ " %3s %s\0"
    273 /*  3206 */ "The '-#<number>' option may omit the hash char\n\0"
    274 /*  3254 */ "All arguments are named options.\n\0"
    275 /*  3288 */ " - reading file %s\0"
    276 /*  3307 */ "\n"
    277             "Please send bug reports to:  <%s>\n\0"
    278 /*  3343 */ "\t\t\t\t- may NOT appear - preset only\n\0"
    279 /*  3379 */ "\n"
    280             "The following option preset mechanisms are supported:\n\0"
    281 /*  3435 */ "prohibits these options:\n\0"
    282 /*  3461 */ "prohibits the option '%s'\n\0"
    283 /*  3488 */ "%s%ld to %ld\0"
    284 /*  3501 */ "%sgreater than or equal to %ld\0"
    285 /*  3532 */ "%s%ld exactly\0"
    286 /*  3546 */ "%sit must lie in one of the ranges:\n\0"
    287 /*  3583 */ "%sit must be in the range:\n\0"
    288 /*  3611 */ ", or\n\0"
    289 /*  3617 */ "%sis scalable with a suffix: k/K/m/M/g/G/t/T\n\0"
    290 /*  3663 */ "%sless than or equal to %ld\0"
    291 /*  3691 */ "Operands and options may be intermixed.  They will be reordered.\n\0"
    292 /*  3757 */ "requires the option '%s'\n\0"
    293 /*  3783 */ "requires these options:\n\0"
    294 /*  3808 */ "   Arg Option-Name   Req?  Description\n\0"
    295 /*  3848 */ "  Flg Arg Option-Name   Req?  Description\n\0"
    296 /*  3891 */ "or you may use a numeric representation.  Preceding these with a '!'\n"
    297             "will clear the bits, specifying 'none' will clear all bits, and 'all'\n"
    298             "will set them all.  Multiple entries may be passed as an option\n"
    299             "argument list.\n\0"
    300 /*  4110 */ "\t\t\t\t- may appear up to %d times\n\0"
    301 /*  4143 */ "The valid \"%s\" option keywords are:\n\0"
    302 /*  4180 */ "The next option supports vendor supported extra options:\0"
    303 /*  4237 */ "These additional options are:";
    304 
    305 /*
    306  *  Now, define (and initialize) the structure that contains
    307  *  the pointers to all these strings.
    308  *  Aren't you glad you don't maintain this by hand?
    309  */
    310 usage_text_t option_xlateable_txt = {
    311   107,
    312   eng_zGnuBoolArg, eng_zGnuKeyArg,  eng_zGnuNumArg,  eng_zGnuStrArg,
    313     {
    314     option_lib_text +    0, option_lib_text +   31, option_lib_text +   83,
    315     option_lib_text +  129, option_lib_text +  228, option_lib_text +  264,
    316     option_lib_text +  314, option_lib_text +  405, option_lib_text +  427,
    317     option_lib_text +  484, option_lib_text +  519, option_lib_text +  564,
    318     option_lib_text +  596, option_lib_text +  634, option_lib_text +  667,
    319     option_lib_text +  716, option_lib_text +  748, option_lib_text +  800,
    320     option_lib_text +  837, option_lib_text +  862, option_lib_text +  900,
    321     option_lib_text +  918, option_lib_text + 1060, option_lib_text + 1107,
    322     option_lib_text + 1146, option_lib_text + 1159, option_lib_text + 1185,
    323     option_lib_text + 1211, option_lib_text + 1254, option_lib_text + 1290,
    324     option_lib_text + 1335, option_lib_text + 1364, option_lib_text + 1407,
    325     option_lib_text + 1490, option_lib_text + 1528, option_lib_text + 1574,
    326     option_lib_text + 1619, option_lib_text + 1646, option_lib_text + 1695,
    327     option_lib_text + 1744, option_lib_text + 1771, option_lib_text + 1804,
    328     option_lib_text + 1840, option_lib_text + 1890, option_lib_text + 1944,
    329     option_lib_text + 1992, option_lib_text + 2039, option_lib_text + 2079,
    330     option_lib_text + 2114, option_lib_text + 2139, option_lib_text + 2155,
    331     option_lib_text + 2170, option_lib_text + 2176, option_lib_text + 2225,
    332     option_lib_text + 2270, option_lib_text + 2326, option_lib_text + 2355,
    333     option_lib_text + 2397, option_lib_text + 2439, option_lib_text + 2465,
    334     option_lib_text + 2480, option_lib_text + 2510, option_lib_text + 2536,
    335     option_lib_text + 2553, option_lib_text + 2600, option_lib_text + 2631,
    336     option_lib_text + 2658, option_lib_text + 2761, option_lib_text + 2867,
    337     option_lib_text + 2923, option_lib_text + 2957, option_lib_text + 3000,
    338     option_lib_text + 3067, option_lib_text + 3100, option_lib_text + 3125,
    339     option_lib_text + 3160, option_lib_text + 3198, option_lib_text + 3206,
    340     option_lib_text + 3254, option_lib_text + 3288, option_lib_text + 3307,
    341     option_lib_text + 3343, option_lib_text + 3379, option_lib_text + 3435,
    342     option_lib_text + 3461, option_lib_text + 3488, option_lib_text + 3501,
    343     option_lib_text + 3532, option_lib_text + 3546, option_lib_text + 3583,
    344     option_lib_text + 3611, option_lib_text + 3617, option_lib_text + 3663,
    345     option_lib_text + 3691, option_lib_text + 3757, option_lib_text + 3783,
    346     option_lib_text + 3808, option_lib_text + 3848, option_lib_text + 3891,
    347     option_lib_text + 4110, option_lib_text + 4143, option_lib_text + 4180,
    348     option_lib_text + 4237
    349   } };
    350 #endif /* AUTOOPTS_INTERNAL */
    351 
    352 #ifdef XGETTEXT_SCAN_DO_NOT_COMPILE
    353 do not compile this section.
    354 /* TRANSLATORS: The following dummy functions were crated solely so that
    355  * xgettext can extract the correct strings.  These strings are actually
    356  * referenced where the preceding "#line" directive states, though you will
    357  * not see the literal string there.  The literal string is defined above in
    358  * the @code{option_lib_text} table and referenced via a #define name that
    359  * redirects into the @code{option_xlateable_txt} structure above.  When
    360  * translating is activated, the pointers in @code{option_xlateable_txt} are
    361  * updated to point to translated strings.
    362  */
    363 static void dummy_func(void) {
    364   /* LIBOPTS-MESSAGES: */
    365 #line 67 "../autoopts.c"
    366   puts(_("allocation of %d bytes failed\n"));
    367 #line 89 "../autoopts.c"
    368   puts(_("allocation of %d bytes failed\n"));
    369 #line 48 "../init.c"
    370   puts(_("AutoOpts function called without option descriptor\n"));
    371 #line 81 "../init.c"
    372   puts(_("\tThis exceeds the compiled library version:  "));
    373 #line 79 "../init.c"
    374   puts(_("Automated Options Processing Error!\n"
    375        "\t%s called AutoOpts function with structure version %d:%d:%d.\n"));
    376 #line 78 "../autoopts.c"
    377   puts(_("realloc of %d bytes at 0x%p failed\n"));
    378 #line 83 "../init.c"
    379   puts(_("\tThis is less than the minimum library version:  "));
    380 #line 121 "../version.c"
    381   puts(_("Automated Options version %s\n"
    382        "\tCopyright (C) 1999-2017 by Bruce Korb - all rights reserved\n"));
    383 #line 49 "../makeshell.c"
    384   puts(_("(AutoOpts bug):  %s.\n"));
    385 #line 90 "../reset.c"
    386   puts(_("optionResetOpt() called, but reset-option not configured"));
    387 #line 241 "../usage.c"
    388   puts(_("could not locate the 'help' option"));
    389 #line 330 "../autoopts.c"
    390   puts(_("optionProcess() was called with invalid data"));
    391 #line 697 "../usage.c"
    392   puts(_("invalid argument type specified"));
    393 #line 568 "../find.c"
    394   puts(_("defaulted to option with optional arg"));
    395 #line 76 "../alias.c"
    396   puts(_("aliasing option is out of range."));
    397 #line 210 "../enum.c"
    398   puts(_("%s error:  the keyword '%s' is ambiguous for %s\n"));
    399 #line 78 "../find.c"
    400   puts(_("  The following options match:\n"));
    401 #line 263 "../find.c"
    402   puts(_("%s: ambiguous option name: %s (matches %d options)\n"));
    403 #line 161 "../check.c"
    404   puts(_("%s: Command line arguments required\n"));
    405 #line 43 "../alias.c"
    406   puts(_("%d %s%s options allowed\n"));
    407 #line 56 "../makeshell.c"
    408   puts(_("%s error %d (%s) calling %s for '%s'\n"));
    409 #line 268 "../makeshell.c"
    410   puts(_("interprocess pipe"));
    411 #line 171 "../version.c"
    412   puts(_("error: version option argument '%c' invalid.  Use:\n"
    413        "\t'v' - version only\n"
    414        "\t'c' - version and copyright\n"
    415        "\t'n' - version and full copyright notice\n"));
    416 #line 58 "../check.c"
    417   puts(_("%s error:  the '%s' and '%s' options conflict\n"));
    418 #line 187 "../find.c"
    419   puts(_("%s: The '%s' option has been disabled."));
    420 #line 400 "../find.c"
    421   puts(_("%s: The '%s' option has been disabled."));
    422 #line 38 "../alias.c"
    423   puts(_("-equivalence"));
    424 #line 439 "../find.c"
    425   puts(_("%s: illegal option -- %c\n"));
    426 #line 110 "../reset.c"
    427   puts(_("%s: illegal option -- %c\n"));
    428 #line 241 "../find.c"
    429   puts(_("%s: illegal option -- %s\n"));
    430 #line 740 "../find.c"
    431   puts(_("%s: illegal option -- %s\n"));
    432 #line 118 "../reset.c"
    433   puts(_("%s: illegal option -- %s\n"));
    434 #line 305 "../find.c"
    435   puts(_("%s: unknown vendor extension option -- %s\n"));
    436 #line 135 "../enum.c"
    437   puts(_("  or an integer from %d through %d\n"));
    438 #line 145 "../enum.c"
    439   puts(_("  or an integer from %d through %d\n"));
    440 #line 696 "../usage.c"
    441   puts(_("%s error:  invalid option descriptor for %s\n"));
    442 #line 1030 "../usage.c"
    443   puts(_("%s error:  invalid option descriptor for %s\n"));
    444 #line 355 "../find.c"
    445   puts(_("%s: invalid option name: %s\n"));
    446 #line 497 "../find.c"
    447   puts(_("%s: The '%s' option requires an argument.\n"));
    448 #line 150 "../autoopts.c"
    449   puts(_("(AutoOpts bug):  Equivalenced option '%s' was equivalenced to both\n"
    450        "\t'%s' and '%s'."));
    451 #line 94 "../check.c"
    452   puts(_("%s error:  The %s option is required\n"));
    453 #line 602 "../find.c"
    454   puts(_("%s: The '%s' option cannot have an argument.\n"));
    455 #line 151 "../check.c"
    456   puts(_("%s: Command line arguments are not allowed.\n"));
    457 #line 568 "../save.c"
    458   puts(_("error %d (%s) creating %s\n"));
    459 #line 210 "../enum.c"
    460   puts(_("%s error:  '%s' does not match any %s keywords.\n"));
    461 #line 93 "../reset.c"
    462   puts(_("%s error: The '%s' option requires an argument.\n"));
    463 #line 122 "../save.c"
    464   puts(_("error %d (%s) stat-ing %s\n"));
    465 #line 175 "../save.c"
    466   puts(_("error %d (%s) stat-ing %s\n"));
    467 #line 143 "../restore.c"
    468   puts(_("%s error: no saved option state\n"));
    469 #line 225 "../autoopts.c"
    470   puts(_("'%s' is not a command line option.\n"));
    471 #line 113 "../time.c"
    472   puts(_("%s error:  '%s' is not a recognizable date/time.\n"));
    473 #line 50 "../time.c"
    474   puts(_("%s error:  '%s' is not a recognizable time duration.\n"));
    475 #line 92 "../check.c"
    476   puts(_("%s error:  The %s option must appear %d times.\n"));
    477 #line 165 "../numeric.c"
    478   puts(_("%s error:  '%s' is not a recognizable number.\n"));
    479 #line 176 "../enum.c"
    480   puts(_("%s error:  %s exceeds %s keyword count\n"));
    481 #line 279 "../usage.c"
    482   puts(_("Try '%s %s' for more information.\n"));
    483 #line 45 "../alias.c"
    484   puts(_("one %s%s option allowed\n"));
    485 #line 170 "../makeshell.c"
    486   puts(_("standard output"));
    487 #line 905 "../makeshell.c"
    488   puts(_("standard output"));
    489 #line 223 "../usage.c"
    490   puts(_("standard output"));
    491 #line 364 "../usage.c"
    492   puts(_("standard output"));
    493 #line 574 "../usage.c"
    494   puts(_("standard output"));
    495 #line 178 "../version.c"
    496   puts(_("standard output"));
    497 #line 223 "../usage.c"
    498   puts(_("standard error"));
    499 #line 364 "../usage.c"
    500   puts(_("standard error"));
    501 #line 574 "../usage.c"
    502   puts(_("standard error"));
    503 #line 178 "../version.c"
    504   puts(_("standard error"));
    505 #line 170 "../makeshell.c"
    506   puts(_("write"));
    507 #line 905 "../makeshell.c"
    508   puts(_("write"));
    509 #line 222 "../usage.c"
    510   puts(_("write"));
    511 #line 363 "../usage.c"
    512   puts(_("write"));
    513 #line 573 "../usage.c"
    514   puts(_("write"));
    515 #line 177 "../version.c"
    516   puts(_("write"));
    517 #line 60 "../numeric.c"
    518   puts(_("%s error:  %s option value %ld is out of range.\n"));
    519 #line 44 "../check.c"
    520   puts(_("%s error:  %s option requires the %s option\n"));
    521 #line 121 "../save.c"
    522   puts(_("%s warning:  cannot save options - %s not regular file\n"));
    523 #line 174 "../save.c"
    524   puts(_("%s warning:  cannot save options - %s not regular file\n"));
    525 #line 193 "../save.c"
    526   puts(_("%s warning:  cannot save options - %s not regular file\n"));
    527 #line 567 "../save.c"
    528   puts(_("%s warning:  cannot save options - %s not regular file\n"));
    529   /* END-LIBOPTS-MESSAGES */
    530 
    531   /* USAGE-TEXT: */
    532 #line 822 "../usage.c"
    533   puts(_("\t\t\t\t- an alternate for '%s'\n"));
    534 #line 1097 "../usage.c"
    535   puts(_("Version, usage and configuration options:"));
    536 #line 873 "../usage.c"
    537   puts(_("\t\t\t\t- default option for unnamed options\n"));
    538 #line 786 "../usage.c"
    539   puts(_("\t\t\t\t- disabled as '--%s'\n"));
    540 #line 1066 "../usage.c"
    541   puts(_(" --- %-14s %s\n"));
    542 #line 1064 "../usage.c"
    543   puts(_("This option has been disabled"));
    544 #line 813 "../usage.c"
    545   puts(_("\t\t\t\t- enabled by default\n"));
    546 #line 40 "../alias.c"
    547   puts(_("%s error:  only "));
    548 #line 1143 "../usage.c"
    549   puts(_(" - examining environment variables named %s_*\n"));
    550 #line 168 "../file.c"
    551   puts(_("\t\t\t\t- file must not pre-exist\n"));
    552 #line 172 "../file.c"
    553   puts(_("\t\t\t\t- file must pre-exist\n"));
    554 #line 329 "../usage.c"
    555   puts(_("Options are specified by doubled hyphens and their name or by a single\n"
    556        "hyphen and the flag character.\n"));
    557 #line 882 "../makeshell.c"
    558   puts(_("\n"
    559        "= = = = = = = =\n\n"
    560        "This incarnation of genshell will produce\n"
    561        "a shell script to parse the options for %s:\n\n"));
    562 #line 142 "../enum.c"
    563   puts(_("  or an integer mask with any of the lower %d bits set\n"));
    564 #line 846 "../usage.c"
    565   puts(_("\t\t\t\t- is a set membership option\n"));
    566 #line 867 "../usage.c"
    567   puts(_("\t\t\t\t- must appear between %d and %d times\n"));
    568 #line 331 "../usage.c"
    569   puts(_("Options are specified by single or double hyphens and their name.\n"));
    570 #line 853 "../usage.c"
    571   puts(_("\t\t\t\t- may appear multiple times\n"));
    572 #line 840 "../usage.c"
    573   puts(_("\t\t\t\t- may not be preset\n"));
    574 #line 1258 "../usage.c"
    575   puts(_("   Arg Option-Name    Description\n"));
    576 #line 1194 "../usage.c"
    577   puts(_("  Flg Arg Option-Name    Description\n"));
    578 #line 1252 "../usage.c"
    579   puts(_("  Flg Arg Option-Name    Description\n"));
    580 #line 1253 "../usage.c"
    581   puts(_(" %3s %s"));
    582 #line 1259 "../usage.c"
    583   puts(_(" %3s %s"));
    584 #line 336 "../usage.c"
    585   puts(_("The '-#<number>' option may omit the hash char\n"));
    586 #line 332 "../usage.c"
    587   puts(_("All arguments are named options.\n"));
    588 #line 920 "../usage.c"
    589   puts(_(" - reading file %s"));
    590 #line 358 "../usage.c"
    591   puts(_("\n"
    592        "Please send bug reports to:  <%s>\n"));
    593 #line 100 "../version.c"
    594   puts(_("\n"
    595        "Please send bug reports to:  <%s>\n"));
    596 #line 129 "../version.c"
    597   puts(_("\n"
    598        "Please send bug reports to:  <%s>\n"));
    599 #line 852 "../usage.c"
    600   puts(_("\t\t\t\t- may NOT appear - preset only\n"));
    601 #line 893 "../usage.c"
    602   puts(_("\n"
    603        "The following option preset mechanisms are supported:\n"));
    604 #line 1141 "../usage.c"
    605   puts(_("\n"
    606        "The following option preset mechanisms are supported:\n"));
    607 #line 631 "../usage.c"
    608   puts(_("prohibits these options:\n"));
    609 #line 626 "../usage.c"
    610   puts(_("prohibits the option '%s'\n"));
    611 #line 81 "../numeric.c"
    612   puts(_("%s%ld to %ld"));
    613 #line 79 "../numeric.c"
    614   puts(_("%sgreater than or equal to %ld"));
    615 #line 75 "../numeric.c"
    616   puts(_("%s%ld exactly"));
    617 #line 68 "../numeric.c"
    618   puts(_("%sit must lie in one of the ranges:\n"));
    619 #line 68 "../numeric.c"
    620   puts(_("%sit must be in the range:\n"));
    621 #line 88 "../numeric.c"
    622   puts(_(", or\n"));
    623 #line 66 "../numeric.c"
    624   puts(_("%sis scalable with a suffix: k/K/m/M/g/G/t/T\n"));
    625 #line 77 "../numeric.c"
    626   puts(_("%sless than or equal to %ld"));
    627 #line 339 "../usage.c"
    628   puts(_("Operands and options may be intermixed.  They will be reordered.\n"));
    629 #line 601 "../usage.c"
    630   puts(_("requires the option '%s'\n"));
    631 #line 604 "../usage.c"
    632   puts(_("requires these options:\n"));
    633 #line 1270 "../usage.c"
    634   puts(_("   Arg Option-Name   Req?  Description\n"));
    635 #line 1264 "../usage.c"
    636   puts(_("  Flg Arg Option-Name   Req?  Description\n"));
    637 #line 143 "../enum.c"
    638   puts(_("or you may use a numeric representation.  Preceding these with a '!'\n"
    639        "will clear the bits, specifying 'none' will clear all bits, and 'all'\n"
    640        "will set them all.  Multiple entries may be passed as an option\n"
    641        "argument list.\n"));
    642 #line 859 "../usage.c"
    643   puts(_("\t\t\t\t- may appear up to %d times\n"));
    644 #line 52 "../enum.c"
    645   puts(_("The valid \"%s\" option keywords are:\n"));
    646 #line 1101 "../usage.c"
    647   puts(_("The next option supports vendor supported extra options:"));
    648 #line 722 "../usage.c"
    649   puts(_("These additional options are:"));
    650   /* END-USAGE-TEXT */
    651 }
    652 #endif /* XGETTEXT_SCAN_DO_NOT_COMPILE */
    653 #endif /* AUTOOPTS_USAGE_TXT_H_GUARD */
    654