MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / parseFlags

Method parseFlags

lib/config/flags.cc:182–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182void FlagGroup::parseFlags(int argc,
183 const char* argv[],
184 std::function<bool(const std::string&)> callback)
185{
186 auto filenames = parseFlagsWithFilenames(argc, argv, callback);
187 if (!filenames.empty())
188 error(
189 "non-option parameter '{}' seen (try --help)", *filenames.begin());
190}
191
192static void doLoadConfig(const std::string& filename)
193{

Callers 8

mainFluxfileRmFunction · 0.80
mainConvertFunction · 0.80
mainFluxfileLsFunction · 0.80
mainAnalyseLayoutFunction · 0.80
mainFluxfileCpFunction · 0.80
testDefaultIntValueFunction · 0.80
testOverriddenIntValueFunction · 0.80

Calls 3

errorFunction · 0.85
emptyMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected