* Fix detection of usage

git-svn-id: trunk@36917 -
This commit is contained in:
michael 2017-08-15 16:22:21 +00:00
parent 1fa863721f
commit 33fea4f9e3

View File

@ -384,7 +384,7 @@ Function TTestRunner.ParseOptions : Boolean;
begin
Result:=True;
if HasOption('h', 'help') or ((ParamCount = 0) and not DefaultRunAllTests) then
if HasOption('h', 'help') or ((ParamCount = 0) and (FRunMode<>rmAll)) then
begin
Usage;
Exit(False);