mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
makr filename parameter as optinal
This commit is contained in:
parent
fc74e16097
commit
1f6161132e
@ -52,7 +52,7 @@ int main(int argc, char** argv)
|
|||||||
|
|
||||||
QCommandLineParser parser;
|
QCommandLineParser parser;
|
||||||
parser.setApplicationDescription(QCoreApplication::translate("main", "KeePassX - cross-platform password manager"));
|
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",
|
QCommandLineOption configOption("config",
|
||||||
QCoreApplication::translate("main", "path to a custom config file"),
|
QCoreApplication::translate("main", "path to a custom config file"),
|
||||||
|
Loading…
Reference in New Issue
Block a user