diff options
author | FormerLurker <hochgebe@gmail.com> | 2020-11-08 21:38:27 +0300 |
---|---|---|
committer | FormerLurker <hochgebe@gmail.com> | 2020-11-08 21:38:27 +0300 |
commit | 2ce62496fc67d131d65bcfddb550156f6cd4c438 (patch) | |
tree | 5c9349827fa08439e6adf12a40fc851acd591a04 /ArcWelderConsole | |
parent | 5eb4453aed430b3c5f336030c9a6eeb6e8ed18eb (diff) |
Add git tag to version.h, improve version display in console apps.
Diffstat (limited to 'ArcWelderConsole')
-rw-r--r-- | ArcWelderConsole/ArcWelderConsole.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ArcWelderConsole/ArcWelderConsole.cpp b/ArcWelderConsole/ArcWelderConsole.cpp index e19324e..0299028 100644 --- a/ArcWelderConsole/ArcWelderConsole.cpp +++ b/ArcWelderConsole/ArcWelderConsole.cpp @@ -51,8 +51,9 @@ int main(int argc, char* argv[]) // Add info about the application std::string info = "Arc Welder: Anti-Stutter - Reduces the number of gcodes per second sent to a 3D printer that supports arc commands (G2 G3)."; // Add the current vesion information - info.append("\nVersion: ").append(GIT_TAGGED_VERSION).append(" (branch:").append(GIT_BRANCH).append(", hash: )").append(GIT_COMMIT_HASH); - info.append("\nBuilt on ").append(BUILD_DATE); + info.append("\nVersion: ").append(GIT_TAGGED_VERSION); + info.append(", Branch: ").append(GIT_BRANCH); + info.append(", BuildDate: ").append(BUILD_DATE); info.append("\n").append("Copyright(C) ").append(COPYRIGHT_DATE).append(" - ").append(AUTHOR); std::stringstream arg_description_stream; |