From 5da46581bd71439871843b3833e641176fe6f14c Mon Sep 17 00:00:00 2001 From: Marenz Date: Thu, 21 Jul 2022 17:27:24 +0200 Subject: [PATCH] Document in ``solc --help`` usage of ``--metadata`` better. --- solc/CommandLineParser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solc/CommandLineParser.cpp b/solc/CommandLineParser.cpp index 9b4490875..319f29de6 100644 --- a/solc/CommandLineParser.cpp +++ b/solc/CommandLineParser.cpp @@ -565,7 +565,7 @@ General Information)").c_str(), ( (g_strOutputDir + ",o").c_str(), po::value()->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);