mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #1225 from wincinderith/import-remap-docs
Add import remapping documentation to `solc --help`
This commit is contained in:
commit
f9e92b37ba
@ -401,7 +401,10 @@ Usage: solc [options] [input_file...]
|
|||||||
Compiles the given Solidity input files (or the standard input if none given or
|
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
|
"-" 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.
|
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)",
|
Allowed options)",
|
||||||
po::options_description::m_default_line_length,
|
po::options_description::m_default_line_length,
|
||||||
|
Loading…
Reference in New Issue
Block a user