CLI tweaks.

This commit is contained in:
Gav Wood 2015-01-09 08:09:30 +01:00
parent 6de29142ef
commit 8233c071f2

View File

@ -160,7 +160,7 @@ void CommandLineInterface::handleMeta(DocumentationType _type, string const& _co
case DocumentationType::ABI_INTERFACE: case DocumentationType::ABI_INTERFACE:
argName = g_argAbiStr; argName = g_argAbiStr;
suffix = ".abi"; suffix = ".abi";
title = "Contract ABI"; title = "Contract JSON ABI";
break; break;
case DocumentationType::ABI_SOLIDITY_INTERFACE: case DocumentationType::ABI_SOLIDITY_INTERFACE:
argName = g_argSolAbiStr; argName = g_argSolAbiStr;
@ -188,7 +188,7 @@ void CommandLineInterface::handleMeta(DocumentationType _type, string const& _co
if (outputToStdout(choice)) if (outputToStdout(choice))
{ {
cout << title << endl; cout << title << endl;
cout << m_compiler.getMetadata(_contract, _type); cout << m_compiler.getMetadata(_contract, _type) << endl;
} }
if (outputToFile(choice)) if (outputToFile(choice))