• Home
  • Raw
  • Download

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},
405 handles_.emplace(Option::INPUTPATH, bind(&PackageParser::AddInput, this, _1)); in InitCommand()
406 handles_.emplace(Option::PACKAGENAME, bind(&PackageParser::AddPackageName, this, _1)); in InitCommand()
407 handles_.emplace(Option::OUTPUTPATH, bind(&PackageParser::AddOutput, this, _1)); in InitCommand()
408 handles_.emplace(Option::RESHEADER, bind(&PackageParser::AddResourceHeader, this, _1)); in InitCommand()
409 … handles_.emplace(Option::FORCEWRITE, [this](const string &) -> uint32_t { return ForceWrite(); }); in InitCommand()
410 … handles_.emplace(Option::VERSION, [this](const string &) -> uint32_t { return PrintVersion(); }); in InitCommand()
411 handles_.emplace(Option::MODULES, bind(&PackageParser::AddMoudleNames, this, _1)); in InitCommand()
412 handles_.emplace(Option::JSON, bind(&PackageParser::AddConfig, this, _1)); in InitCommand()
413 handles_.emplace(Option::STARTID, bind(&PackageParser::AddStartId, this, _1)); in InitCommand()
414 handles_.emplace(Option::APPEND, bind(&PackageParser::AddAppend, this, _1)); in InitCommand()
415 handles_.emplace(Option::COMBINE, [this](const string &) -> uint32_t { return SetCombine(); }); in InitCommand()
416 handles_.emplace(Option::DEPENDENTRY, bind(&PackageParser::AddDependEntry, this, _1)); in InitCommand()
417 handles_.emplace(Option::HELP, [this](const string &) -> uint32_t { return ShowHelp(); }); in InitCommand()
418 handles_.emplace(Option::IDS, bind(&PackageParser::SetIdDefinedOutput, this, _1)); in InitCommand()
419 handles_.emplace(Option::DEFINED_IDS, bind(&PackageParser::SetIdDefinedInputPath, this, _1)); in InitCommand()
420 … handles_.emplace(Option::ICON_CHECK, [this](const string &) -> uint32_t { return IconCheck(); }); in InitCommand()
421 handles_.emplace(Option::TARGET_CONFIG, bind(&PackageParser::ParseTargetConfig, this, _1)); in InitCommand()
460 if (c == Option::END) { in ParseCommand()
471 if (c == Option::UNKNOWN) { in ParseCommand()
476 if (c == Option::NO_ARGUMENT) { in ParseCommand()
485 if (c == Option::FILELIST) { in ParseCommand()