fixed version display

This commit is contained in:
tihmstar 2019-11-03 15:29:10 +01:00
parent 923d8168e5
commit e4332ed20a

View file

@ -6,7 +6,6 @@
// Copyright © 2016 tihmstar. All rights reserved. // Copyright © 2016 tihmstar. All rights reserved.
// //
#include <libgeneral/macros.h>
#include <iostream> #include <iostream>
#include <getopt.h> #include <getopt.h>
@ -20,8 +19,13 @@
extern "C"{ extern "C"{
#include "tsschecker.h" #include "tsschecker.h"
#undef VERSION_COMMIT_SHA
#undef VERSION_COMMIT_COUNT
}; };
#include <libgeneral/macros.h>
static struct option longopts[] = { static struct option longopts[] = {
{ "apticket", required_argument, NULL, 't' }, { "apticket", required_argument, NULL, 't' },
{ "baseband", required_argument, NULL, 'b' }, { "baseband", required_argument, NULL, 'b' },