mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 18:56:55 +02:00
Removed duplicate "--version".
This commit is contained in:
parent
e1d79c7b59
commit
b59795e71c
2 changed files with 2 additions and 5 deletions
|
@ -752,10 +752,7 @@ bool setupEssentials(int& argc, char** argv, const QCommandLineParser* parser, b
|
||||||
reportAndQuit("--protocolVersion", [&](FILE* fp) {
|
reportAndQuit("--protocolVersion", [&](FILE* fp) {
|
||||||
auto version = protocolVersionsSignatureBase64();
|
auto version = protocolVersionsSignatureBase64();
|
||||||
fputs(version.toLatin1().data(), fp);
|
fputs(version.toLatin1().data(), fp);
|
||||||
}); // This doesn't seem to work.
|
});
|
||||||
/*reportAndQuit("--version", [&](FILE* fp) {
|
|
||||||
fputs(BuildInfo::VERSION.toLatin1().data(), fp);
|
|
||||||
});*/
|
|
||||||
|
|
||||||
const int listenPort = parser->isSet("listenPort") ? parser->value("listenPort").toInt() : INVALID_PORT;
|
const int listenPort = parser->isSet("listenPort") ? parser->value("listenPort").toInt() : INVALID_PORT;
|
||||||
|
|
||||||
|
|
|
@ -216,7 +216,7 @@ int main(int argc, const char* argv[]) {
|
||||||
"clockSkew",
|
"clockSkew",
|
||||||
"Forces client instance's clock to skew for demonstration purposes.",
|
"Forces client instance's clock to skew for demonstration purposes.",
|
||||||
"value"
|
"value"
|
||||||
);
|
); // This should probably be removed.
|
||||||
QCommandLineOption testScriptOption(
|
QCommandLineOption testScriptOption(
|
||||||
"testScript",
|
"testScript",
|
||||||
"Undocumented. Accepts parameter as U.R.L.",
|
"Undocumented. Accepts parameter as U.R.L.",
|
||||||
|
|
Loading…
Reference in a new issue