aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
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;
}