diff options
author | chriseth <c@ethdev.com> | 2015-07-09 01:32:43 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-07-09 22:07:33 +0800 |
commit | b458d543b55dbf0438bd45df843f637c8b71485a (patch) | |
tree | fd882787638119859960ca7ce956c3c5ee7e9ee1 /CommandLineInterface.cpp | |
parent | 66e0e6028fd172dda64aa6ca9bc3226b4b529b68 (diff) | |
download | dexon-solidity-b458d543b55dbf0438bd45df843f637c8b71485a.tar dexon-solidity-b458d543b55dbf0438bd45df843f637c8b71485a.tar.gz dexon-solidity-b458d543b55dbf0438bd45df843f637c8b71485a.tar.bz2 dexon-solidity-b458d543b55dbf0438bd45df843f637c8b71485a.tar.lz dexon-solidity-b458d543b55dbf0438bd45df843f637c8b71485a.tar.xz dexon-solidity-b458d543b55dbf0438bd45df843f637c8b71485a.tar.zst dexon-solidity-b458d543b55dbf0438bd45df843f637c8b71485a.zip |
Versioning for Solidity.
Diffstat (limited to 'CommandLineInterface.cpp')
-rw-r--r-- | CommandLineInterface.cpp | 10 |
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); } |