mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-27 00:50:33 +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
|
begin
|
||||||
Result:=True;
|
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
|
begin
|
||||||
Usage;
|
Usage;
|
||||||
Exit(False);
|
Exit(False);
|
||||||
|
Loading…
Reference in New Issue
Block a user