summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Compass.h2
-rw-r--r--Help.cpp4
2 files changed, 6 insertions, 0 deletions
diff --git a/Compass.h b/Compass.h
index 1cb9dcd..5ef22f0 100644
--- a/Compass.h
+++ b/Compass.h
@@ -16,6 +16,8 @@
#include "Cryptor.h"
#include "Help.h"
+#define COMPASS_VERSION "v0.1"
+
#define ALLOW_WALK 0
#define SECONDS_PSWD_CLEANUP 30
#define CLEAN_STRING "compass-cleared"
diff --git a/Help.cpp b/Help.cpp
index e774638..a8739be 100644
--- a/Help.cpp
+++ b/Help.cpp
@@ -1,4 +1,5 @@
#include "Help.h"
+#include "Compass.h"
Help::Help() {
std::cout << " ______ ____ ___ __________" << std::endl;
@@ -8,6 +9,9 @@ Help::Help() {
std::cout << "\\____/\\____/_/ /_/ /_/_/ /_/ |_/____/____/ " << std::endl;
std::cout << std::endl;
+ std::cout << " " << COMPASS_VERSION << std::endl;
+ std::cout << std::endl;
+
std::cout << " Minimal::Documentation" << std::endl;
std::cout << std::endl;
}