Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1466dabce8 | |||
| 7618feb0ff |
@@ -3,6 +3,6 @@
|
||||
|
||||
#define MQTTEXPLORER_VERSION_MAJOR 1
|
||||
#define MQTTEXPLORER_VERSION_MINOR 0
|
||||
#define MQTTEXPLORER_VERSION_PATCH 0
|
||||
#define MQTTEXPLORER_VERSION_PATCH 2
|
||||
|
||||
#endif // VERSION_H
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
@@ -31,6 +31,8 @@ int main(int argc, const char* argv[]) {
|
||||
});
|
||||
|
||||
while (true) {
|
||||
using namespace std::chrono_literals;
|
||||
std::this_thread::sleep_for(100ms);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user