MCPcopy Create free account
hub / github.com/AGWA/git-crypt / find_option

Function find_option

parse_options.cpp:32–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31
32static const Option_def* find_option (const Options_list& options, const std::string& name)
33{
34 for (Options_list::const_iterator opt(options.begin()); opt != options.end(); ++opt) {
35 if (opt->name == name) {
36 return &*opt;
37 }
38 }
39 return 0;
40}
41
42int parse_options (const Options_list& options, int argc, const char** argv)
43{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected