summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2021-01-10 22:28:38 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2021-01-18 08:20:07 -0500
commite4ae41e3a29fc3e4714e1c3f8c9f071768d17b68 (patch)
treee784d53c13f454fc960a4f903ac20a34dc08dbaf /src/main.cpp
parent3bca0e761597f590fa3b1c6a57ee325e774e3f49 (diff)
fixed all commands being legacy
split running command into pre and post organizer
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 362caaad..f85e13f3 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -23,7 +23,7 @@ int main(int argc, char *argv[])
setExceptionHandlers();
cl::CommandLine cl;
- if (auto r=cl.run(GetCommandLineW())) {
+ if (auto r=cl.process(GetCommandLineW())) {
return *r;
}
@@ -73,7 +73,7 @@ int main(int argc, char *argv[])
}
}
- if (auto r=cl.setupCore(app.core())) {
+ if (auto r=cl.run(app.core())) {
return *r;
}