MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / CommandLineParser

Method CommandLineParser

src/OpenLoco/src/CommandLine.cpp:157–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155
156 public:
157 CommandLineParser(const std::vector<std::string>& argv)
158 {
159 _args.resize(argv.size() - 1);
160 for (size_t i = 1; i < argv.size(); i++)
161 {
162 _args[i - 1] = argv[i];
163 }
164 }
165
166 std::string_view getErrorMessage() const
167 {

Callers

nothing calls this directly

Calls 2

resizeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected