MCPcopy Create free account
hub / github.com/apple/foundationdb / getValidOptions

Method getValidOptions

fdbcli/fdbcli.actor.cpp:294–302  ·  view source on GitHub ↗

Returns a vector of the names of all documented options

Source from the content-addressed store, hash-verified

292
293 // Returns a vector of the names of all documented options
294 std::vector<std::string> getValidOptions() const {
295 std::vector<std::string> ret;
296
297 for (auto itr = legalOptions.begin(); itr != legalOptions.end(); ++itr)
298 if (isDocumented(itr->second))
299 ret.push_back(itr->first);
300
301 return ret;
302 }
303
304 // Prints a help string for each option in this group. Any options with no comment
305 // are excluded from this help string. Lines are wrapped to 80 characters.

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected