Correct CLI help messages on Windows

* Prevents keepassxc-cli.exe -> keepassxc-cli show.exe
* Fixes #3032
This commit is contained in:
Jonathan White 2019-04-19 16:19:19 -04:00
parent 5b28610c6a
commit 7d46ce3de1
13 changed files with 15 additions and 15 deletions

View file

@ -171,7 +171,7 @@ int Estimate::execute(const QStringList& arguments)
const QStringList args = parser.positionalArguments();
if (args.size() > 1) {
errorTextStream << parser.helpText().replace("keepassxc-cli", "keepassxc-cli estimate");
errorTextStream << parser.helpText().replace("[options]", "estimate [options]");
return EXIT_FAILURE;
}