Skip to content

Commit 58bf2bb

Browse files
authored
Merge pull request #125 from paweld/gus
fixed error with `-4` option, reported by Georges Hatem
2 parents dc78e27 + 5d89da2 commit 58bf2bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generator/Lazarus/src/generator.lpr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ procedure TOneBRCGenerator.DoRun;
3737
tmpLineCount, tmpLineEnd: String;
3838
begin
3939
// quick check parameters
40-
ErrorMsg:= CheckOptions(Format('%s%s%s:%s:%s:%s:%s',[
40+
ErrorMsg:= CheckOptions(Format('%s%s%s:%s:%s:%s%s:',[
4141
cShortOptHelp,
4242
cShortOptVersion,
4343
cShortOptInput,
@@ -52,7 +52,7 @@ procedure TOneBRCGenerator.DoRun;
5252
cLongOptInput+':',
5353
cLongOptOutput+':',
5454
cLongOptNumber+':',
55-
cLongOptStations+':',
55+
cLongOptStations,
5656
cLongOptLineEnd+':'
5757
]
5858
);

0 commit comments

Comments
 (0)