Browse files

Print version of components with -v flag

  • Loading branch information...
1 parent 6d9a7b4 commit 15422062a465bab2bab9644f9f3a731c8fb0c999 @massix committed May 13, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/PMBinaryValidatorApplication.cpp
View
6 src/PMBinaryValidatorApplication.cpp
@@ -32,6 +32,7 @@
#include <PM_Validator.h>
#include <PM_TokenElement.h>
+#include <PM_StaticFunctions.h>
namespace PhantomMenace
{
@@ -79,10 +80,11 @@ void Application::printUsage(const std::string& iAppName)
void Application::printVersion()
{
std::cout
- << "PhantomMenace Binary Validator version "
+ << "PhantomMenace Binary Validator version: "
<< VALIDATORVERSIONMAJ << "."
- << VALIDATORVERSIONBIN << "-"
+ << VALIDATORVERSIONBIN << "."
<< VALIDATORVERSIONMIN << std::endl;
+ std::cout << PhantomMenace::Util::getFullVersion() << std::endl;
}
void Application::setFileName(const std::string& iFileName)

0 comments on commit 1542206

Please sign in to comment.