Unified version printing.

This commit is contained in:
2017-10-13 18:19:34 +02:00
parent 2be3f4256a
commit 974c94fbb0
2 changed files with 7 additions and 3 deletions

View File

@@ -24,8 +24,6 @@
#include <plasp/sas/Description.h>
#include <plasp/sas/TranslatorASP.h>
#include <plasp-app/Version.h>
////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Command Translate
@@ -55,7 +53,7 @@ int CommandTranslate::run(int argc, char **argv)
if (basicOptions.version)
{
std::cout << Version << std::endl;
printVersion();
return EXIT_SUCCESS;
}