Lines Matching refs:parser
317 NCommandLineParser::CParser parser;
321 if (!parser.ParseStrings(kSwitchForms, kNumSwitches, commandStrings))
324 << parser.ErrorMessage << endl
325 << parser.ErrorLine << endl;
334 if (parser[NKey::kHelp1].ThereIs || parser[NKey::kHelp2].ThereIs)
340 const UStringVector &nonSwitchStrings = parser.NonSwitchStrings;
376 const bool yesToAll = parser[NKey::kYes].ThereIs;
381 const bool passwordEnabled = parser[NKey::kPassword].ThereIs;
385 password = parser[NKey::kPassword].PostStrings[0];
391 if (parser[NKey::kOutputDir].ThereIs)
393 outputDir = us2fs(parser[NKey::kOutputDir].PostStrings[0]);