Document in `solc --help usage of --metadata` better.

This commit is contained in:
Marenz
2022-08-15 12:57:40 +02:00
parent 31bd4f6b80
commit 5da46581bd
+2 -2
View File
@@ -565,7 +565,7 @@ General Information)").c_str(),
(
(g_strOutputDir + ",o").c_str(),
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(),
@@ -718,7 +718,7 @@ General Information)").c_str(),
(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::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.")
;
desc.add(outputComponents);