Merge pull request #6846

3cb56f3 *: alias -h for --help (Daniel Cousens)
This commit is contained in:
Wladimir J. van der Laan
2015-10-22 17:51:13 +02:00
4 changed files with 4 additions and 4 deletions

View File

@@ -563,7 +563,7 @@ int main(int argc, char *argv[])
// Show help message immediately after parsing command-line options (for "-lang") and setting locale,
// but before showing splash screen.
if (mapArgs.count("-?") || mapArgs.count("-help") || mapArgs.count("-version"))
if (mapArgs.count("-?") || mapArgs.count("-h") || mapArgs.count("-help") || mapArgs.count("-version"))
{
HelpMessageDialog help(NULL, mapArgs.count("-version"));
help.showOrPrint();