mcpinger/cli_parser.h
2024-05-08 13:27:23 +02:00

21 lines
392 B
C++

//cli_parser.h
#ifndef MCPINGER_CLI_PARSER_H
#define MCPINGER_CLI_PARSER_H
#include <string>
struct config {
std::string hostname;
std::string virtualHostname;
int port = 25565;
int virtualPort = 25565;
int protocolVersion = -1;
int nextState = 1;
void parseCommandLine(int argc, char *argv[]);
static void printHelp();
};
#endif // MCPINGER_CLI_PARSER_H