aboutsummaryrefslogtreecommitdiffstats
path: root/CommandLineInterface.cpp
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-07-16 21:51:05 +0800
committerLiana Husikyan <liana@ethdev.com>2015-08-10 18:16:40 +0800
commitd6b28af7e2aff0c978bb1d612ad75972b32a56a1 (patch)
treedf3f1200f111ffaf370f29cf9653da6a01eccf39 /CommandLineInterface.cpp
parent2b9e8adeed8889b4acf85aa8151163952306516d (diff)
downloaddexon-solidity-d6b28af7e2aff0c978bb1d612ad75972b32a56a1.tar
dexon-solidity-d6b28af7e2aff0c978bb1d612ad75972b32a56a1.tar.gz
dexon-solidity-d6b28af7e2aff0c978bb1d612ad75972b32a56a1.tar.bz2
dexon-solidity-d6b28af7e2aff0c978bb1d612ad75972b32a56a1.tar.lz
dexon-solidity-d6b28af7e2aff0c978bb1d612ad75972b32a56a1.tar.xz
dexon-solidity-d6b28af7e2aff0c978bb1d612ad75972b32a56a1.tar.zst
dexon-solidity-d6b28af7e2aff0c978bb1d612ad75972b32a56a1.zip
added -o flag. todo: options should be removed from the components
Diffstat (limited to 'CommandLineInterface.cpp')
-rw-r--r--CommandLineInterface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/CommandLineInterface.cpp b/CommandLineInterface.cpp
index e579d883..8d76df4a 100644
--- a/CommandLineInterface.cpp
+++ b/CommandLineInterface.cpp
@@ -335,8 +335,8 @@ bool CommandLineInterface::parseArguments(int argc, char** argv)
po::value<string>()->value_name(boost::join(g_combinedJsonArgs, ",")),
"Output a single json document containing the specified information, can be combined."
)
- (g_argAstStr.c_str(), po::value<OutputType>()->value_name("stdout|file|both"),
- "Request to output the AST of the contract.")
+ ("output-dir,o", po::value<vector<string>>()->composing(), "Output directory path")
+ (g_argAstStr.c_str(), "Request to output the AST of the contract.")
(g_argAstJson.c_str(), po::value<OutputType>()->value_name("stdout|file|both"),
"Request to output the AST of the contract in JSON format.")
(g_argAsmStr.c_str(), po::value<OutputType>()->value_name("stdout|file|both"),