mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Document in `solc --help
usage of
--metadata
` better.
This commit is contained in:
parent
31bd4f6b80
commit
5da46581bd
@ -565,7 +565,7 @@ General Information)").c_str(),
|
|||||||
(
|
(
|
||||||
(g_strOutputDir + ",o").c_str(),
|
(g_strOutputDir + ",o").c_str(),
|
||||||
po::value<string>()->value_name("path"),
|
po::value<string>()->value_name("path"),
|
||||||
"If given, creates one file per component and contract/file at the specified directory."
|
"If given, creates one file per output component and contract/file at the specified directory."
|
||||||
)
|
)
|
||||||
(
|
(
|
||||||
g_strOverwrite.c_str(),
|
g_strOverwrite.c_str(),
|
||||||
@ -718,7 +718,7 @@ General Information)").c_str(),
|
|||||||
(CompilerOutputs::componentName(&CompilerOutputs::signatureHashes).c_str(), "Function signature hashes of the contracts.")
|
(CompilerOutputs::componentName(&CompilerOutputs::signatureHashes).c_str(), "Function signature hashes of the contracts.")
|
||||||
(CompilerOutputs::componentName(&CompilerOutputs::natspecUser).c_str(), "Natspec user documentation of all contracts.")
|
(CompilerOutputs::componentName(&CompilerOutputs::natspecUser).c_str(), "Natspec user documentation of all contracts.")
|
||||||
(CompilerOutputs::componentName(&CompilerOutputs::natspecDev).c_str(), "Natspec developer documentation of all contracts.")
|
(CompilerOutputs::componentName(&CompilerOutputs::natspecDev).c_str(), "Natspec developer documentation of all contracts.")
|
||||||
(CompilerOutputs::componentName(&CompilerOutputs::metadata).c_str(), "Combined Metadata JSON whose Swarm hash is stored on-chain.")
|
(CompilerOutputs::componentName(&CompilerOutputs::metadata).c_str(), "Combined Metadata JSON whose IPFS hash is stored on-chain.")
|
||||||
(CompilerOutputs::componentName(&CompilerOutputs::storageLayout).c_str(), "Slots, offsets and types of the contract's state variables.")
|
(CompilerOutputs::componentName(&CompilerOutputs::storageLayout).c_str(), "Slots, offsets and types of the contract's state variables.")
|
||||||
;
|
;
|
||||||
desc.add(outputComponents);
|
desc.add(outputComponents);
|
||||||
|
Loading…
Reference in New Issue
Block a user