Browse Source

eth --version display protocol version

cl-refactor
CJentzsch 10 years ago
parent
commit
418357cfbd
  1. 2
      eth/main.cpp

2
eth/main.cpp

@ -145,6 +145,8 @@ string credits(bool _interactive = false)
void version()
{
cout << "eth version " << dev::Version << endl;
cout << "Network protocol version: " << dev::eth::c_protocolVersion << endl;
cout << "Client database version: " << dev::eth::c_databaseVersion << endl;
cout << "Build: " << DEV_QUOTED(ETH_BUILD_PLATFORM) << "/" << DEV_QUOTED(ETH_BUILD_TYPE) << endl;
exit(0);
}

Loading…
Cancel
Save