failure when showing help (#658)
This commit is contained in:
@@ -44,8 +44,7 @@ int Extract::execute(int argc, char** argv)
|
||||
|
||||
const QStringList args = parser.positionalArguments();
|
||||
if (args.size() != 1) {
|
||||
parser.showHelp();
|
||||
return EXIT_FAILURE;
|
||||
parser.showHelp(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
out << "Insert the database password\n> ";
|
||||
|
||||
Reference in New Issue
Block a user