Lines Matching refs:Option
27 { "inputPath", required_argument, nullptr, Option::INPUTPATH },
28 { "packageName", required_argument, nullptr, Option::PACKAGENAME },
29 { "outputPath", required_argument, nullptr, Option::OUTPUTPATH },
30 { "resHeader", required_argument, nullptr, Option::RESHEADER },
31 { "forceWrite", no_argument, nullptr, Option::FORCEWRITE },
32 { "version", no_argument, nullptr, Option::VERSION},
33 { "modules", required_argument, nullptr, Option::MODULES },
34 { "json", required_argument, nullptr, Option::JSON },
35 { "startId", required_argument, nullptr, Option::STARTID },
36 { "fileList", required_argument, nullptr, Option::FILELIST },
37 { "append", required_argument, nullptr, Option::APPEND },
38 { "combine", required_argument, nullptr, Option::COMBINE },
39 { "dependEntry", required_argument, nullptr, Option::DEPENDENTRY },
40 { "help", no_argument, nullptr, Option::HELP},
41 { "ids", required_argument, nullptr, Option::IDS},
42 { "defined-ids", required_argument, nullptr, Option::DEFINED_IDS},
43 { "icon-check", no_argument, nullptr, Option::ICON_CHECK},
44 { "target-config", required_argument, nullptr, Option::TARGET_CONFIG},
45 { "defined-sysids", required_argument, nullptr, Option::DEFINED_SYSIDS},
46 { "compressed-config", required_argument, nullptr, Option::COMPRESSED_CONFIG},
449 handles_.emplace(Option::INPUTPATH, bind(&PackageParser::AddInput, this, _1));
450 handles_.emplace(Option::PACKAGENAME, bind(&PackageParser::AddPackageName, this, _1));
451 handles_.emplace(Option::OUTPUTPATH, bind(&PackageParser::AddOutput, this, _1));
452 handles_.emplace(Option::RESHEADER, bind(&PackageParser::AddResourceHeader, this, _1));
453 handles_.emplace(Option::FORCEWRITE, [this](const string &) -> uint32_t { return ForceWrite(); });
454 handles_.emplace(Option::VERSION, [this](const string &) -> uint32_t { return PrintVersion(); });
455 handles_.emplace(Option::MODULES, bind(&PackageParser::AddMoudleNames, this, _1));
456 handles_.emplace(Option::JSON, bind(&PackageParser::AddConfig, this, _1));
457 handles_.emplace(Option::STARTID, bind(&PackageParser::AddStartId, this, _1));
458 handles_.emplace(Option::APPEND, bind(&PackageParser::AddAppend, this, _1));
459 handles_.emplace(Option::COMBINE, [this](const string &) -> uint32_t { return SetCombine(); });
460 handles_.emplace(Option::DEPENDENTRY, bind(&PackageParser::AddDependEntry, this, _1));
461 handles_.emplace(Option::HELP, [this](const string &) -> uint32_t { return ShowHelp(); });
462 handles_.emplace(Option::IDS, bind(&PackageParser::SetIdDefinedOutput, this, _1));
463 handles_.emplace(Option::DEFINED_IDS, bind(&PackageParser::SetIdDefinedInputPath, this, _1));
464 handles_.emplace(Option::ICON_CHECK, [this](const string &) -> uint32_t { return IconCheck(); });
465 handles_.emplace(Option::TARGET_CONFIG, bind(&PackageParser::ParseTargetConfig, this, _1));
466 handles_.emplace(Option::DEFINED_SYSIDS, bind(&PackageParser::AddSysIdDefined, this, _1));
467 handles_.emplace(Option::COMPRESSED_CONFIG, bind(&PackageParser::AddCompressionPath, this, _1));
505 if (c == Option::UNKNOWN) {
513 if (c == Option::NO_ARGUMENT) {
536 if (c == Option::END) {
549 if (c == Option::FILELIST) {