aboutsummaryrefslogtreecommitdiffstats
path: root/CommandLineInterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CommandLineInterface.cpp')
-rw-r--r--CommandLineInterface.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/CommandLineInterface.cpp b/CommandLineInterface.cpp
index c95f34f6..00bf2ab3 100644
--- a/CommandLineInterface.cpp
+++ b/CommandLineInterface.cpp
@@ -35,6 +35,7 @@
#include <libdevcore/CommonIO.h>
#include <libevmcore/Instruction.h>
#include <libevmcore/Params.h>
+#include <libsolidity/Version.h>
#include <libsolidity/Scanner.h>
#include <libsolidity/Parser.h>
#include <libsolidity/ASTPrinter.h>
@@ -81,9 +82,12 @@ static set<string> const g_combinedJsonArgs{
static void version()
{
- cout << "solc, the solidity compiler commandline interface " << dev::Version << endl
- << " by Christian <c@ethdev.com> and Lefteris <lefteris@ethdev.com>, (c) 2014." << endl
- << "Build: " << DEV_QUOTED(ETH_BUILD_PLATFORM) << "/" << DEV_QUOTED(ETH_BUILD_TYPE) << endl;
+ cout <<
+ "solc, the solidity compiler commandline interface" <<
+ endl <<
+ "Version: " <<
+ dev::solidity::VersionString <<
+ endl;
exit(0);
}