diff --git a/src/Version.h b/src/Version.h index 3826061..6e5b083 100644 --- a/src/Version.h +++ b/src/Version.h @@ -3,6 +3,6 @@ #define MQTTEXPLORER_VERSION_MAJOR 1 #define MQTTEXPLORER_VERSION_MINOR 0 -#define MQTTEXPLORER_VERSION_PATCH 0 +#define MQTTEXPLORER_VERSION_PATCH 1 #endif // VERSION_H diff --git a/src/main.cpp b/src/main.cpp index 9e020f1..d02aff3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -7,7 +7,7 @@ int main(int argc, const char* argv[]) { if (argc >= 2) { - if (strcmp(argv[1], "-v") == 0 || strcmp(argv[1], "--version")) { + if (strcmp(argv[1], "-v") == 0 || strcmp(argv[1], "--version") == 0) { std::cout << "Version: " << MQTTEXPLORER_VERSION_MAJOR << "." << MQTTEXPLORER_VERSION_MINOR << "." << MQTTEXPLORER_VERSION_PATCH << std::endl; return 0; }