added -o flag. todo: options should be removed from the components

This commit is contained in:
Liana Husikyan 2015-07-16 15:51:05 +02:00
parent 2b9e8adeed
commit d6b28af7e2

View File

@ -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"),