mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
CLI tweaks.
This commit is contained in:
parent
6de29142ef
commit
8233c071f2
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user