aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2016-10-19 20:36:51 +0800
committerGitHub <noreply@github.com>2016-10-19 20:36:51 +0800
commitf9e92b37ba6d71991979f3d6782287980df6b026 (patch)
tree32c9da3dfe413b35b8d91119ae7c21323b7a1e12
parent998c4a9758120e0cfba934ee3e204fdb77e95b40 (diff)
parent97703ac6e4c6beadb7cb5c783aa130a063d80a8a (diff)
downloaddexon-solidity-f9e92b37ba6d71991979f3d6782287980df6b026.tar.gz
dexon-solidity-f9e92b37ba6d71991979f3d6782287980df6b026.tar.zst
dexon-solidity-f9e92b37ba6d71991979f3d6782287980df6b026.zip
Merge pull request #1225 from wincinderith/import-remap-docs
Add import remapping documentation to `solc --help`
-rw-r--r--solc/CommandLineInterface.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/solc/CommandLineInterface.cpp b/solc/CommandLineInterface.cpp
index 2013c506..84cc2534 100644
--- a/solc/CommandLineInterface.cpp
+++ b/solc/CommandLineInterface.cpp
@@ -401,7 +401,10 @@ Usage: solc [options] [input_file...]
Compiles the given Solidity input files (or the standard input if none given or
"-" is used as a file name) and outputs the components specified in the options
at standard output or in files in the output directory, if specified.
-Example: solc --bin -o /tmp/solcoutput contract.sol
+Imports are automatically read from the filesystem, but it is also possible to
+remap paths using the context:prefix=path syntax.
+Example:
+ solc --bin -o /tmp/solcoutput dapp-bin=/usr/local/lib/dapp-bin contract.sol
Allowed options)",
po::options_description::m_default_line_length,