[nstool] Change to semantic versioning.

This commit is contained in:
jakcron 2018-08-07 18:24:17 +08:00
parent 21b5bdaca9
commit 2ec588e314
2 changed files with 4 additions and 3 deletions

View file

@ -41,7 +41,7 @@ void UserSettings::parseCmdArgs(const std::vector<std::string>& arg_list)
void UserSettings::showHelp()
{
printf("NSTool v%d.%d (C) %s\n", VER_MAJOR, VER_MINOR, AUTHORS);
printf("NSTool v%d.%d.%d (C) %s\n", VER_MAJOR, VER_MINOR, VER_PATCH, AUTHORS);
printf("Built: %s %s\n\n", __TIME__, __DATE__);
printf("Usage: nstool [options... ] <file>\n");

View file

@ -1,4 +1,5 @@
#pragma once
#define VER_MAJOR 0
#define VER_MINOR 1
#define VER_MAJOR 1
#define VER_MINOR 0
#define VER_PATCH 0
#define AUTHORS "jakcron"