diff --git a/bb64.cpp b/bb64.cpp index 0fed2b6..1f0061f 100644 --- a/bb64.cpp +++ b/bb64.cpp @@ -149,6 +149,8 @@ Usage: bb64 -u Updates bb64 to the latest version (uses docker) + bb64 -v Prints the version number + )" << std::endl; return -1; } @@ -159,6 +161,11 @@ Usage: { if (mode == "-u") return update_bb64(); + else if (mode == "-v") + { + std::cout << VERSION << std::endl; + return 0; + } else if (mode == "-e") { std::ostringstream oss; diff --git a/version.h b/version.h index 72f41a9..caff3ab 100644 --- a/version.h +++ b/version.h @@ -1 +1 @@ -static const char *VERSION = "37"; +static const char *VERSION = "38";