summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/main.cpp b/src/main.cpp
deleted file mode 100644
index ef8dfcd..0000000
--- a/src/main.cpp
+++ /dev/null
@@ -1,22 +0,0 @@
-#include "command.h"
-
-int main(int argc, char **argv)
-{
- std::unique_ptr<katja::command> command;
-
- try
- {
- command = katja::parse_command_line(argc, argv);
- }
- catch (katja::command_exception& e)
- {
- std::cout << e.what() << std::endl << std::endl;
-
- katja::help().execute();
-
- return EXIT_FAILURE;
- }
- command->execute();
-
- return EXIT_SUCCESS;
-}