forked from ondra/server-sdk
removing unnecessary code
This commit is contained in:
parent
e31b09b2a9
commit
0c7887d944
@ -11,14 +11,7 @@ int main(int argc, char *argv[])
|
|||||||
qCDebug(sdkcore) << "test message";
|
qCDebug(sdkcore) << "test message";
|
||||||
|
|
||||||
QCoreApplication app(argc, argv);
|
QCoreApplication app(argc, argv);
|
||||||
QCoreApplication::setApplicationName("colnod-connector");
|
QCoreApplication::setApplicationName("example-app");
|
||||||
QCoreApplication::setApplicationVersion("1.0");
|
QCoreApplication::setApplicationVersion("0.1.0");
|
||||||
|
|
||||||
// Command line parsing
|
|
||||||
QCommandLineParser parser;
|
|
||||||
|
|
||||||
parser.setApplicationDescription("Colnod sync");
|
|
||||||
QCommandLineOption dryModeOption("dryMode", "ColnodAPI", "Read-only mode, prints changes which would normally be made");
|
|
||||||
parser.addOption(dryModeOption);
|
|
||||||
parser.process(app);
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user