diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2014-12-10 00:39:34 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2014-12-10 00:39:34 +0800 |
commit | df82e26d5ad3eff2514c4461ff94ada8fa1ebd55 (patch) | |
tree | 7f977b379bf43ec9e05a1044b5caaa29580611ee /main.cpp | |
parent | 5ab37de94a0a5398e452a6839501a3262c847e61 (diff) | |
download | dexon-solidity-df82e26d5ad3eff2514c4461ff94ada8fa1ebd55.tar.gz dexon-solidity-df82e26d5ad3eff2514c4461ff94ada8fa1ebd55.tar.zst dexon-solidity-df82e26d5ad3eff2514c4461ff94ada8fa1ebd55.zip |
Styling issues and new class name for the CLI
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 17 |
1 files changed, 7 insertions, 10 deletions
@@ -20,19 +20,16 @@ * Solidity commandline compiler. */ - -#include "SolContext.h" - - +#include "CommandLineInterface.h" int main(int argc, char** argv) { - dev::solidity::SolContext ctx; - if (!ctx.parseArguments(argc, argv)) - return 1; - if (!ctx.processInput()) - return 1; - ctx.actOnInput(); + dev::solidity::CommandLineInterface cli; + if (!cli.parseArguments(argc, argv)) + return 1; + if (!cli.processInput()) + return 1; + cli.actOnInput(); return 0; } |