Home | History | Annotate | Download | only in icupkg

Lines Matching refs:options

18 *   extract data pieces according to command-line options.
67 "Read the input ICU .dat package file, modify it according to the options,\n"
86 "Allowed options include -t, -w, -s and -d.\n"
88 "Other options are not allowed in this mode.\n");
91 "Options:\n"
140 "\t At most one of the auto_toc_prefix options\n"
184 static UOption options[]={
267 argc=u_parseArgs(argc, argv, LENGTHOF(options), options);
268 isHelp=options[OPT_HELP_H].doesOccur || options[OPT_HELP_QUESTION_MARK].doesOccur;
282 if(options[OPT_AUTO_TOC_PREFIX].doesOccur) {
286 if(options[OPT_AUTO_TOC_PREFIX_WITH_TYPE].doesOccur) {
287 if(options[OPT_TOC_PREFIX].doesOccur) {
300 if(options[OPT_SOURCEDIR].doesOccur) {
301 sourcePath=options[OPT_SOURCEDIR].value;
306 if(options[OPT_DESTDIR].doesOccur) {
307 destPath=options[OPT_DESTDIR].value;
346 if(options[OPT_OUT_TYPE].doesOccur) {
347 const char *type=options[OPT_OUT_TYPE].value;
377 if(options[OPT_WRITEPKG].doesOccur) {
384 * Check that irrelevant options are not set.
386 if( options[OPT_COMMENT].doesOccur ||
387 options[OPT_COPYRIGHT].doesOccur ||
388 options[OPT_MATCHMODE].doesOccur ||
389 options[OPT_REMOVE_LIST].doesOccur ||
390 options[OPT_ADD_LIST].doesOccur ||
391 options[OPT_EXTRACT_LIST].doesOccur ||
392 options[OPT_LIST_ITEMS].doesOccur
407 if(options[OPT_COMMENT].doesOccur) {
408 outComment=options[OPT_COMMENT].value;
409 } else if(options[OPT_COPYRIGHT].doesOccur) {
415 if(options[OPT_MATCHMODE].doesOccur) {
416 if(0==strcmp(options[OPT_MATCHMODE].value, "noslash")) {
425 if(options[OPT_REMOVE_LIST].doesOccur) {
431 if(readList(NULL, options[OPT_REMOVE_LIST].value, FALSE, listPkg)) {
447 if(options[OPT_ADD_LIST].doesOccur) {
453 if(readList(sourcePath, options[OPT_ADD_LIST].value, TRUE, addListPkg)) {
464 if(options[OPT_EXTRACT_LIST].doesOccur) {
470 if(readList(NULL, options[OPT_EXTRACT_LIST].value, FALSE, listPkg)) {
480 if(options[OPT_LIST_ITEMS].doesOccur) {
482 if (options[OPT_LIST_FILE].doesOccur) {
484 out = T_FileStream_open(options[OPT_LIST_FILE].value, "w");
534 if(options[OPT_TOC_PREFIX].doesOccur) {
535 pkg->setPrefix(options[OPT_TOC_PREFIX].value);