mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 05:59:28 +02:00
* Fix detection of usage
git-svn-id: trunk@36917 -
This commit is contained in:
parent
1fa863721f
commit
33fea4f9e3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user