makr filename parameter as optinal

This commit is contained in:
denk-mal 2015-06-23 11:22:15 +02:00
parent fc74e16097
commit 1f6161132e

View File

@ -52,7 +52,7 @@ int main(int argc, char** argv)
QCommandLineParser parser;
parser.setApplicationDescription(QCoreApplication::translate("main", "KeePassX - cross-platform password manager"));
parser.addPositionalArgument("filename", QCoreApplication::translate("main", "filename of the password database to open (*.kdbx)"));
parser.addPositionalArgument("filename", QCoreApplication::translate("main", "filename of the password database to open (*.kdbx)"), "[filename]");
QCommandLineOption configOption("config",
QCoreApplication::translate("main", "path to a custom config file"),