From d6b28af7e2aff0c978bb1d612ad75972b32a56a1 Mon Sep 17 00:00:00 2001 From: Liana Husikyan Date: Thu, 16 Jul 2015 15:51:05 +0200 Subject: added -o flag. todo: options should be removed from the components --- CommandLineInterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CommandLineInterface.cpp') 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()->value_name(boost::join(g_combinedJsonArgs, ",")), "Output a single json document containing the specified information, can be combined." ) - (g_argAstStr.c_str(), po::value()->value_name("stdout|file|both"), - "Request to output the AST of the contract.") + ("output-dir,o", po::value>()->composing(), "Output directory path") + (g_argAstStr.c_str(), "Request to output the AST of the contract.") (g_argAstJson.c_str(), po::value()->value_name("stdout|file|both"), "Request to output the AST of the contract in JSON format.") (g_argAsmStr.c_str(), po::value()->value_name("stdout|file|both"), -- cgit v1.2.3