aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2014-12-10 00:39:34 +0800
committerLefteris Karapetsas <lefteris@refu.co>2014-12-10 00:39:34 +0800
commitdf82e26d5ad3eff2514c4461ff94ada8fa1ebd55 (patch)
tree7f977b379bf43ec9e05a1044b5caaa29580611ee /main.cpp
parent5ab37de94a0a5398e452a6839501a3262c847e61 (diff)
downloaddexon-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.cpp17
1 files changed, 7 insertions, 10 deletions
diff --git a/main.cpp b/main.cpp
index f692725d..c5f72980 100644
--- a/main.cpp
+++ b/main.cpp
@@ -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;
}