mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
refactor: Restructure parsing and setup loading methods
This commit is contained in:
@@ -124,7 +124,7 @@ int main(int argc, char *argv[])
|
||||
BLACKTEST_INIT(BlackCoreTest::CTestConnectivity)
|
||||
CApplication a(CApplicationInfo::UnitTest);
|
||||
a.addVatlibOptions();
|
||||
const bool setup = a.parseAndLoadSetup();
|
||||
const bool setup = a.parseCommandLineArgsAndLoadSetup();
|
||||
if (!setup) { qWarning() << "No setup loaded"; }
|
||||
int r = EXIT_FAILURE;
|
||||
if (a.start())
|
||||
|
||||
Reference in New Issue
Block a user