Correct CLI help messages on Windows

* Prevents keepassxc-cli.exe -> keepassxc-cli show.exe
* Fixes #3032
This commit is contained in:
Jonathan White committed 2019-04-20 11:03:06 -04:00
1 parent 5b28610c6a
commit 7d46ce3de1
13 files changed
+15 -15

No files matched your search

+1 -1
View File
@@ -88,7 +88,7 @@ int Edit::execute(const QStringList& arguments)
const QStringList args = parser.positionalArguments();
if (args.size() != 2) {
errorTextStream << parser.helpText().replace("keepassxc-cli", "keepassxc-cli edit");
errorTextStream << parser.helpText().replace("[options]", "edit [options]");
return EXIT_FAILURE;
}