MCPcopy Create free account
hub / github.com/catboost/catboost / ParseShortOptArg

Method ParseShortOptArg

library/cpp/getopt/small/last_getopt_parser.cpp:130–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128 }
129
130 bool TOptsParser::ParseShortOptArg(size_t pos) {
131 Y_ASSERT(pos < Argc_);
132 const TStringBuf arg(Argv_[pos]);
133 Y_ASSERT(EIO_NONE != IsOpt(arg));
134 Y_ASSERT(!arg.StartsWith("--"));
135 return ParseShortOptWithinArg(pos, 1);
136 }
137
138 bool TOptsParser::ParseOptArg(size_t pos) {
139 Y_ASSERT(pos < Argc_);

Callers

nothing calls this directly

Calls 1

StartsWithMethod · 0.45

Tested by

no test coverage detected