diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/main.cc | 1 | ||||
-rw-r--r-- | src/utils/command.cc | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/main.cc b/src/gui/main.cc index 9b018492..a372be3a 100644 --- a/src/gui/main.cc +++ b/src/gui/main.cc @@ -32,7 +32,6 @@ #include <QApplication> #include "main-window.h" - int main(int argc, char* argv[]) { using namespace OpenAxiom; diff --git a/src/utils/command.cc b/src/utils/command.cc index 58218c70..c7e4ee47 100644 --- a/src/utils/command.cc +++ b/src/utils/command.cc @@ -351,6 +351,8 @@ preprocess_arguments(Command* command, int argc, char** argv) driver = core_driver; else if (strcmp(argv[i], "--server") == 0) driver = sman_driver; + else if (strcmp(argv[i], "--gui") == 0) + driver = gui_driver; else if (strcmp(argv[i], "--config") == 0) driver = config_driver; else if (strcmp(argv[i], "--execute") == 0) { |