failure when showing help (#658)

This commit is contained in:
louib authored and GitHub committed 2017-06-21 19:09:44 -04:00
1 parent 48ea024d7e
commit 95baf25648
5 files changed
+5 -10

No files matched your search

+1 -2
View File
@@ -61,8 +61,7 @@ int Merge::execute(int argc, char** argv)
const QStringList args = parser.positionalArguments();
if (args.size() != 2) {
QCoreApplication app(argc, argv);
parser.showHelp();
return EXIT_FAILURE;
parser.showHelp(EXIT_FAILURE);
}
Database* db1;