MCPcopy Create free account
hub / github.com/OpenVPN/openvpn3-linux / GetOptionNames

Method GetOptionNames

src/common/cmdargparser.hpp:185–193  ·  view source on GitHub ↗

* Retrieve a vector with all the various option names found during * the command line argument parsing. * * @return Returns a std::vector of all unique options parsed. */

Source from the content-addressed store, hash-verified

183 * @return Returns a std::vector<std::string> of all unique options parsed.
184 */
185 std::vector<std::string> GetOptionNames() const
186 {
187 std::vector<std::string> keys;
188 for (auto const &k : present)
189 {
190 keys.push_back(k);
191 }
192 return keys;
193 }
194
195
196 /**

Callers 1

cmd_dump_arg_testFunction · 0.80

Calls

no outgoing calls

Tested by 1

cmd_dump_arg_testFunction · 0.64