Unify version scheme

This commit is contained in:
vit9696 2018-05-22 00:43:34 +03:00
parent 8ea96ffd5d
commit 4bb759780f
9 changed files with 38 additions and 11 deletions

View file

@ -14,6 +14,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <QString>
#include <QStringList>
#include <iostream>
#include "../version.h"
#include "uefireplace.h"
int main(int argc, char *argv[])
@ -28,7 +30,7 @@ int main(int argc, char *argv[])
QStringList args = a.arguments();
if (args.length() < 5) {
std::cout << "UEFIReplace 0.1.3 - UEFI image file replacement utility" << std::endl << std::endl <<
std::cout << "UEFIReplace " PROGRAM_VERSION " - UEFI image file replacement utility" << std::endl << std::endl <<
"Usage: UEFIReplace image_file guid section_type contents_file [-o output] [-all] [-asis]" << std::endl;
return ERR_SUCCESS;
}