*: alias -h for --help

This commit is contained in:
Daniel Cousens
2015-10-23 03:24:59 +00:00
committed by Luke Dashjr
parent 131d7f997c
commit af6edac0bd
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -548,7 +548,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();