????
Current Path : C:/opt/msys64/usr/include/autoopts/ |
Current File : C:/opt/msys64/usr/include/autoopts/usage-txt.h |
/* -*- buffer-read-only: t -*- vi: set ro: * * DO NOT EDIT THIS FILE (usage-txt.h) * * It has been AutoGen-ed * From the definitions usage-txt.def * and the template file usage-txt.tpl * * This file is part of AutoOpts, a companion to AutoGen. * AutoOpts is free software. * AutoOpts is Copyright (C) 1992-2017 by Bruce Korb - all rights reserved * * AutoOpts is available under any one of two licenses. The license * in use must be one of these two and the choice is under the control * of the user of the license. * * The GNU Lesser General Public License, version 3 or later * See the files "COPYING.lgplv3" and "COPYING.gplv3" * * The Modified Berkeley Software Distribution License * See the file "COPYING.mbsd" * * These files have the following sha256 sums: * * 8584710e9b04216a394078dc156b781d0b47e1729104d666658aecef8ee32e95 COPYING.gplv3 * 4379e7444a0e2ce2b12dd6f5a52a27a4d02d39d247901d3285c88cf0d37f477b COPYING.lgplv3 * 13aa749a5b0a454917a944ed8fffc530b784f5ead522b1aacaf4ec8aa55a6239 COPYING.mbsd */ /** @file usage-txt.h * * This file handles all the bookkeeping required for tracking all the little * tiny strings used by the AutoOpts library. There are 107 * of them. This is not versioned because it is entirely internal to the * library and accessed by client code only in a very well-controlled way: * they may substitute translated strings using a procedure that steps through * all the string pointers. */ #ifndef AUTOOPTS_USAGE_TXT_H_GUARD #define AUTOOPTS_USAGE_TXT_H_GUARD 1 /* * One structure to hold all the pointers to all the translatable strings. */ typedef struct { int field_ct; char * utpz_GnuBoolArg; char * utpz_GnuKeyArg; char * utpz_GnuNumArg; char * utpz_GnuStrArg; char const * apz_str[103]; } usage_text_t; /* * Declare the global structure with all the pointers to translatable * strings and the text array containing untranslatable strings. */ extern usage_text_t option_xlateable_txt; extern char const option_lib_text[4267]; #ifdef XGETTEXT_SCAN_DO_NOT_COMPILE do not compile this section. /* TRANSLATORS: The following dummy functions were crated solely so that * xgettext can extract the correct strings. These strings are actually * referenced where the preceding "#line" directive states, though you will * not see the literal string there. The literal string is defined above in * the @code{option_lib_text} table and referenced via a #define name that * redirects into the @code{option_xlateable_txt} structure above. When * translating is activated, the pointers in @code{option_xlateable_txt} are * updated to point to translated strings. */ static void dummy_func(void) { /* LIBOPTS-MESSAGES: */ #line 67 "../autoopts.c" puts(_("allocation of %d bytes failed\n")); #line 89 "../autoopts.c" puts(_("allocation of %d bytes failed\n")); #line 48 "../init.c" puts(_("AutoOpts function called without option descriptor\n")); #line 81 "../init.c" puts(_("\tThis exceeds the compiled library version: ")); #line 79 "../init.c" puts(_("Automated Options Processing Error!\n" "\t%s called AutoOpts function with structure version %d:%d:%d.\n")); #line 78 "../autoopts.c" puts(_("realloc of %d bytes at 0x%p failed\n")); #line 83 "../init.c" puts(_("\tThis is less than the minimum library version: ")); #line 121 "../version.c" puts(_("Automated Options version %s\n" "\tCopyright (C) 1999-2017 by Bruce Korb - all rights reserved\n")); #line 49 "../makeshell.c" puts(_("(AutoOpts bug): %s.\n")); #line 90 "../reset.c" puts(_("optionResetOpt() called, but reset-option not configured")); #line 241 "../usage.c" puts(_("could not locate the 'help' option")); #line 330 "../autoopts.c" puts(_("optionProcess() was called with invalid data")); #line 697 "../usage.c" puts(_("invalid argument type specified")); #line 568 "../find.c" puts(_("defaulted to option with optional arg")); #line 76 "../alias.c" puts(_("aliasing option is out of range.")); #line 210 "../enum.c" puts(_("%s error: the keyword '%s' is ambiguous for %s\n")); #line 78 "../find.c" puts(_(" The following options match:\n")); #line 263 "../find.c" puts(_("%s: ambiguous option name: %s (matches %d options)\n")); #line 161 "../check.c" puts(_("%s: Command line arguments required\n")); #line 43 "../alias.c" puts(_("%d %s%s options allowed\n")); #line 56 "../makeshell.c" puts(_("%s error %d (%s) calling %s for '%s'\n")); #line 268 "../makeshell.c" puts(_("interprocess pipe")); #line 171 "../version.c" puts(_("error: version option argument '%c' invalid. Use:\n" "\t'v' - version only\n" "\t'c' - version and copyright\n" "\t'n' - version and full copyright notice\n")); #line 58 "../check.c" puts(_("%s error: the '%s' and '%s' options conflict\n")); #line 187 "../find.c" puts(_("%s: The '%s' option has been disabled.")); #line 400 "../find.c" puts(_("%s: The '%s' option has been disabled.")); #line 38 "../alias.c" puts(_("-equivalence")); #line 439 "../find.c" puts(_("%s: illegal option -- %c\n")); #line 110 "../reset.c" puts(_("%s: illegal option -- %c\n")); #line 241 "../find.c" puts(_("%s: illegal option -- %s\n")); #line 740 "../find.c" puts(_("%s: illegal option -- %s\n")); #line 118 "../reset.c" puts(_("%s: illegal option -- %s\n")); #line 305 "../find.c" puts(_("%s: unknown vendor extension option -- %s\n")); #line 135 "../enum.c" puts(_(" or an integer from %d through %d\n")); #line 145 "../enum.c" puts(_(" or an integer from %d through %d\n")); #line 696 "../usage.c" puts(_("%s error: invalid option descriptor for %s\n")); #line 1030 "../usage.c" puts(_("%s error: invalid option descriptor for %s\n")); #line 355 "../find.c" puts(_("%s: invalid option name: %s\n")); #line 497 "../find.c" puts(_("%s: The '%s' option requires an argument.\n")); #line 150 "../autoopts.c" puts(_("(AutoOpts bug): Equivalenced option '%s' was equivalenced to both\n" "\t'%s' and '%s'.")); #line 94 "../check.c" puts(_("%s error: The %s option is required\n")); #line 602 "../find.c" puts(_("%s: The '%s' option cannot have an argument.\n")); #line 151 "../check.c" puts(_("%s: Command line arguments are not allowed.\n")); #line 568 "../save.c" puts(_("error %d (%s) creating %s\n")); #line 210 "../enum.c" puts(_("%s error: '%s' does not match any %s keywords.\n")); #line 93 "../reset.c" puts(_("%s error: The '%s' option requires an argument.\n")); #line 122 "../save.c" puts(_("error %d (%s) stat-ing %s\n")); #line 175 "../save.c" puts(_("error %d (%s) stat-ing %s\n")); #line 143 "../restore.c" puts(_("%s error: no saved option state\n")); #line 225 "../autoopts.c" puts(_("'%s' is not a command line option.\n")); #line 113 "../time.c" puts(_("%s error: '%s' is not a recognizable date/time.\n")); #line 50 "../time.c" puts(_("%s error: '%s' is not a recognizable time duration.\n")); #line 92 "../check.c" puts(_("%s error: The %s option must appear %d times.\n")); #line 165 "../numeric.c" puts(_("%s error: '%s' is not a recognizable number.\n")); #line 176 "../enum.c" puts(_("%s error: %s exceeds %s keyword count\n")); #line 279 "../usage.c" puts(_("Try '%s %s' for more information.\n")); #line 45 "../alias.c" puts(_("one %s%s option allowed\n")); #line 170 "../makeshell.c" puts(_("standard output")); #line 905 "../makeshell.c" puts(_("standard output")); #line 223 "../usage.c" puts(_("standard output")); #line 364 "../usage.c" puts(_("standard output")); #line 574 "../usage.c" puts(_("standard output")); #line 178 "../version.c" puts(_("standard output")); #line 223 "../usage.c" puts(_("standard error")); #line 364 "../usage.c" puts(_("standard error")); #line 574 "../usage.c" puts(_("standard error")); #line 178 "../version.c" puts(_("standard error")); #line 170 "../makeshell.c" puts(_("write")); #line 905 "../makeshell.c" puts(_("write")); #line 222 "../usage.c" puts(_("write")); #line 363 "../usage.c" puts(_("write")); #line 573 "../usage.c" puts(_("write")); #line 177 "../version.c" puts(_("write")); #line 60 "../numeric.c" puts(_("%s error: %s option value %ld is out of range.\n")); #line 44 "../check.c" puts(_("%s error: %s option requires the %s option\n")); #line 121 "../save.c" puts(_("%s warning: cannot save options - %s not regular file\n")); #line 174 "../save.c" puts(_("%s warning: cannot save options - %s not regular file\n")); #line 193 "../save.c" puts(_("%s warning: cannot save options - %s not regular file\n")); #line 567 "../save.c" puts(_("%s warning: cannot save options - %s not regular file\n")); /* END-LIBOPTS-MESSAGES */ /* USAGE-TEXT: */ #line 822 "../usage.c" puts(_("\t\t\t\t- an alternate for '%s'\n")); #line 1097 "../usage.c" puts(_("Version, usage and configuration options:")); #line 873 "../usage.c" puts(_("\t\t\t\t- default option for unnamed options\n")); #line 786 "../usage.c" puts(_("\t\t\t\t- disabled as '--%s'\n")); #line 1066 "../usage.c" puts(_(" --- %-14s %s\n")); #line 1064 "../usage.c" puts(_("This option has been disabled")); #line 813 "../usage.c" puts(_("\t\t\t\t- enabled by default\n")); #line 40 "../alias.c" puts(_("%s error: only ")); #line 1143 "../usage.c" puts(_(" - examining environment variables named %s_*\n")); #line 168 "../file.c" puts(_("\t\t\t\t- file must not pre-exist\n")); #line 172 "../file.c" puts(_("\t\t\t\t- file must pre-exist\n")); #line 329 "../usage.c" puts(_("Options are specified by doubled hyphens and their name or by a single\n" "hyphen and the flag character.\n")); #line 882 "../makeshell.c" puts(_("\n" "= = = = = = = =\n\n" "This incarnation of genshell will produce\n" "a shell script to parse the options for %s:\n\n")); #line 142 "../enum.c" puts(_(" or an integer mask with any of the lower %d bits set\n")); #line 846 "../usage.c" puts(_("\t\t\t\t- is a set membership option\n")); #line 867 "../usage.c" puts(_("\t\t\t\t- must appear between %d and %d times\n")); #line 331 "../usage.c" puts(_("Options are specified by single or double hyphens and their name.\n")); #line 853 "../usage.c" puts(_("\t\t\t\t- may appear multiple times\n")); #line 840 "../usage.c" puts(_("\t\t\t\t- may not be preset\n")); #line 1258 "../usage.c" puts(_(" Arg Option-Name Description\n")); #line 1194 "../usage.c" puts(_(" Flg Arg Option-Name Description\n")); #line 1252 "../usage.c" puts(_(" Flg Arg Option-Name Description\n")); #line 1253 "../usage.c" puts(_(" %3s %s")); #line 1259 "../usage.c" puts(_(" %3s %s")); #line 336 "../usage.c" puts(_("The '-#<number>' option may omit the hash char\n")); #line 332 "../usage.c" puts(_("All arguments are named options.\n")); #line 920 "../usage.c" puts(_(" - reading file %s")); #line 358 "../usage.c" puts(_("\n" "Please send bug reports to: <%s>\n")); #line 100 "../version.c" puts(_("\n" "Please send bug reports to: <%s>\n")); #line 129 "../version.c" puts(_("\n" "Please send bug reports to: <%s>\n")); #line 852 "../usage.c" puts(_("\t\t\t\t- may NOT appear - preset only\n")); #line 893 "../usage.c" puts(_("\n" "The following option preset mechanisms are supported:\n")); #line 1141 "../usage.c" puts(_("\n" "The following option preset mechanisms are supported:\n")); #line 631 "../usage.c" puts(_("prohibits these options:\n")); #line 626 "../usage.c" puts(_("prohibits the option '%s'\n")); #line 81 "../numeric.c" puts(_("%s%ld to %ld")); #line 79 "../numeric.c" puts(_("%sgreater than or equal to %ld")); #line 75 "../numeric.c" puts(_("%s%ld exactly")); #line 68 "../numeric.c" puts(_("%sit must lie in one of the ranges:\n")); #line 68 "../numeric.c" puts(_("%sit must be in the range:\n")); #line 88 "../numeric.c" puts(_(", or\n")); #line 66 "../numeric.c" puts(_("%sis scalable with a suffix: k/K/m/M/g/G/t/T\n")); #line 77 "../numeric.c" puts(_("%sless than or equal to %ld")); #line 339 "../usage.c" puts(_("Operands and options may be intermixed. They will be reordered.\n")); #line 601 "../usage.c" puts(_("requires the option '%s'\n")); #line 604 "../usage.c" puts(_("requires these options:\n")); #line 1270 "../usage.c" puts(_(" Arg Option-Name Req? Description\n")); #line 1264 "../usage.c" puts(_(" Flg Arg Option-Name Req? Description\n")); #line 143 "../enum.c" puts(_("or you may use a numeric representation. Preceding these with a '!'\n" "will clear the bits, specifying 'none' will clear all bits, and 'all'\n" "will set them all. Multiple entries may be passed as an option\n" "argument list.\n")); #line 859 "../usage.c" puts(_("\t\t\t\t- may appear up to %d times\n")); #line 52 "../enum.c" puts(_("The valid \"%s\" option keywords are:\n")); #line 1101 "../usage.c" puts(_("The next option supports vendor supported extra options:")); #line 722 "../usage.c" puts(_("These additional options are:")); /* END-USAGE-TEXT */ } #endif /* XGETTEXT_SCAN_DO_NOT_COMPILE */ #endif /* AUTOOPTS_USAGE_TXT_H_GUARD */