MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / addArgument

Method addArgument

source/core/StarOptionParser.cpp:28–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28void OptionParser::addArgument(String argument, RequirementMode requirementMode, String description) {
29 m_arguments.append(Argument{std::move(argument), requirementMode, std::move(description)});
30}
31
32pair<OptionParser::Options, StringList> OptionParser::parseOptions(StringList const& arguments) const {
33 Options result;

Callers 5

mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected