Better error handling for strip

This commit is contained in:
probonopd
2016-09-05 21:32:03 +02:00
parent db3e2b8562
commit 6325cd4140
2 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ int main(int argc, char **argv)
if (argc > 1)
appBinaryPath = QString::fromLocal8Bit(argv[1]);
appBinaryPath = QDir::cleanPath(appBinaryPath);
appBinaryPath = QDir::cleanPath(appBinaryPath).trimmed();
if (argc < 2 || appBinaryPath.startsWith("-")) {
qDebug() << "Usage: linuxdeployqt app-binary [options]";