Skip to content

Commit 86ab18c

Browse files
authored
Merge pull request #13287 from ethereum/bettercmdlineHelp
Document in ``solc --help`` usage of ``--metadata`` better.
2 parents bb41ddd + 5da4658 commit 86ab18c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

solc/CommandLineParser.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ General Information)").c_str(),
565565
(
566566
(g_strOutputDir + ",o").c_str(),
567567
po::value<string>()->value_name("path"),
568-
"If given, creates one file per component and contract/file at the specified directory."
568+
"If given, creates one file per output component and contract/file at the specified directory."
569569
)
570570
(
571571
g_strOverwrite.c_str(),
@@ -718,7 +718,7 @@ General Information)").c_str(),
718718
(CompilerOutputs::componentName(&CompilerOutputs::signatureHashes).c_str(), "Function signature hashes of the contracts.")
719719
(CompilerOutputs::componentName(&CompilerOutputs::natspecUser).c_str(), "Natspec user documentation of all contracts.")
720720
(CompilerOutputs::componentName(&CompilerOutputs::natspecDev).c_str(), "Natspec developer documentation of all contracts.")
721-
(CompilerOutputs::componentName(&CompilerOutputs::metadata).c_str(), "Combined Metadata JSON whose Swarm hash is stored on-chain.")
721+
(CompilerOutputs::componentName(&CompilerOutputs::metadata).c_str(), "Combined Metadata JSON whose IPFS hash is stored on-chain.")
722722
(CompilerOutputs::componentName(&CompilerOutputs::storageLayout).c_str(), "Slots, offsets and types of the contract's state variables.")
723723
;
724724
desc.add(outputComponents);

0 commit comments

Comments
 (0)