Lines Matching refs:arg
34 auto func = [value](const StringPiece& arg) -> bool { in RequiredFlag() argument
35 *value = arg.to_string(); in RequiredFlag()
46 auto func = [value](const StringPiece& arg) -> bool { in RequiredFlagList() argument
47 value->push_back(arg.to_string()); in RequiredFlagList()
58 auto func = [value](const StringPiece& arg) -> bool { in OptionalFlag() argument
59 *value = arg.to_string(); in OptionalFlag()
70 auto func = [value](const StringPiece& arg) -> bool { in OptionalFlagList() argument
71 value->push_back(arg.to_string()); in OptionalFlagList()
82 auto func = [value](const StringPiece& arg) -> bool { in OptionalFlagList() argument
83 value->insert(arg.to_string()); in OptionalFlagList()
93 auto func = [value](const StringPiece& arg) -> bool { in OptionalSwitch() argument
139 StringPiece arg = args[i]; in Parse() local
140 if (*(arg.data()) != '-') { in Parse()
141 args_.push_back(arg.to_string()); in Parse()
145 if (arg == "-h" || arg == "--help") { in Parse()
152 if (arg == flag.name) { in Parse()
171 *out_error << "unknown option '" << arg << "'.\n\n"; in Parse()