MCPcopy Create free account
hub / github.com/Simsys/qhexedit2 / CommandLineParseResult

Class CommandLineParseResult

example/main.cpp:18–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16};
17
18struct CommandLineParseResult {
19 enum class Status {
20 Ok,
21 Error,
22 VersionRequested,
23 HelpRequested
24 };
25 Status statusCode = Status::Ok;
26 std::optional<QString> errorString = std::nullopt;
27};
28
29CommandLineParseResult parseCommandLine(QCommandLineParser &parser, ParsedOptions *query) {
30 using Status = CommandLineParseResult::Status;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected