tst_QUdpSocket: Remove unneeded ./ in application name printing
Reported-by: Shane Kearns <shane.kearns@accenture.com> Change-Id: I12f2a23b98c3b0161a2961a9117c196cd7d72a6d Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
This commit is contained in:
parent
9e96c4a315
commit
fb07ce50ae
@ -149,7 +149,7 @@ int main(int argc, char **argv)
|
||||
QCoreApplication app(argc, argv);
|
||||
ClientServer::Type type;
|
||||
if (app.arguments().size() < 4) {
|
||||
qDebug("usage: ./%s [ConnectedClient <server> <port>|UnconnectedClient <server> <port>|Server]", argv[0]);
|
||||
qDebug("usage: %s [ConnectedClient <server> <port>|UnconnectedClient <server> <port>|Server]", argv[0]);
|
||||
return 1;
|
||||
}
|
||||
|
||||
@ -161,7 +161,7 @@ int main(int argc, char **argv)
|
||||
} else if (arg == "server") {
|
||||
type = ClientServer::Server;
|
||||
} else {
|
||||
qDebug("usage: ./%s [ConnectedClient <server> <port>|UnconnectedClient <server> <port>|Server]", argv[0]);
|
||||
qDebug("usage: %s [ConnectedClient <server> <port>|UnconnectedClient <server> <port>|Server]", argv[0]);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user