print the version by accessing it directly
This commit is contained in:
parent
48955026c4
commit
841914bae8
@ -124,7 +124,7 @@ int main(int argc, char** argv)
|
||||
return EXIT_SUCCESS;
|
||||
break;
|
||||
case 'v' :
|
||||
std::cout << "obelisk " << (new obelisk::Obelisk())->getVersion() << std::endl;
|
||||
std::cout << "obelisk " << obelisk::version << std::endl;
|
||||
return EXIT_SUCCESS;
|
||||
break;
|
||||
default :
|
||||
|
Loading…
Reference in New Issue
Block a user