Lines Matching refs:Option
26 { "inputPath", required_argument, nullptr, Option::INPUTPATH },
27 { "packageName", required_argument, nullptr, Option::PACKAGENAME },
28 { "outputPath", required_argument, nullptr, Option::OUTPUTPATH },
29 { "resHeader", required_argument, nullptr, Option::RESHEADER },
30 { "forceWrite", no_argument, nullptr, Option::FORCEWRITE },
31 { "version", no_argument, nullptr, Option::VERSION},
32 { "modules", required_argument, nullptr, Option::MODULES },
33 { "json", required_argument, nullptr, Option::JSON },
34 { "startId", required_argument, nullptr, Option::STARTID },
35 { "fileList", required_argument, nullptr, Option::FILELIST },
36 { "append", required_argument, nullptr, Option::APPEND },
37 { "combine", required_argument, nullptr, Option::COMBINE },
38 { "dependEntry", required_argument, nullptr, Option::DEPENDENTRY },
39 { "help", no_argument, nullptr, Option::HELP},
40 { "ids", required_argument, nullptr, Option::IDS},
41 { "defined-ids", required_argument, nullptr, Option::DEFINED_IDS},
42 { "icon-check", no_argument, nullptr, Option::ICON_CHECK},
373 handles_.emplace(Option::INPUTPATH, bind(&PackageParser::AddInput, this, _1)); in InitCommand()
374 handles_.emplace(Option::PACKAGENAME, bind(&PackageParser::AddPackageName, this, _1)); in InitCommand()
375 handles_.emplace(Option::OUTPUTPATH, bind(&PackageParser::AddOutput, this, _1)); in InitCommand()
376 handles_.emplace(Option::RESHEADER, bind(&PackageParser::AddResourceHeader, this, _1)); in InitCommand()
377 … handles_.emplace(Option::FORCEWRITE, [this](const string &) -> uint32_t { return ForceWrite(); }); in InitCommand()
378 … handles_.emplace(Option::VERSION, [this](const string &) -> uint32_t { return PrintVersion(); }); in InitCommand()
379 handles_.emplace(Option::MODULES, bind(&PackageParser::AddMoudleNames, this, _1)); in InitCommand()
380 handles_.emplace(Option::JSON, bind(&PackageParser::AddConfig, this, _1)); in InitCommand()
381 handles_.emplace(Option::STARTID, bind(&PackageParser::AddStartId, this, _1)); in InitCommand()
382 handles_.emplace(Option::APPEND, bind(&PackageParser::AddAppend, this, _1)); in InitCommand()
383 handles_.emplace(Option::COMBINE, [this](const string &) -> uint32_t { return SetCombine(); }); in InitCommand()
384 handles_.emplace(Option::DEPENDENTRY, bind(&PackageParser::AddDependEntry, this, _1)); in InitCommand()
385 handles_.emplace(Option::HELP, [this](const string &) -> uint32_t { return ShowHelp(); }); in InitCommand()
386 handles_.emplace(Option::IDS, bind(&PackageParser::SetIdDefinedOutput, this, _1)); in InitCommand()
387 handles_.emplace(Option::DEFINED_IDS, bind(&PackageParser::SetIdDefinedInputPath, this, _1)); in InitCommand()
388 … handles_.emplace(Option::ICON_CHECK, [this](const string &) -> uint32_t { return IconCheck(); }); in InitCommand()
427 if (c == Option::END) { in ParseCommand()
438 if (c == Option::UNKNOWN) { in ParseCommand()
443 if (c == Option::NO_ARGUMENT) { in ParseCommand()
452 if (c == Option::FILELIST) { in ParseCommand()