mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-01 22:50:18 +02:00
* Actually write error message if there is one
This commit is contained in:
parent
7335f0c1d6
commit
a0f69557cc
@ -122,7 +122,8 @@ end;
|
||||
|
||||
procedure TWebsocketClientApplication.Usage(const aError : string);
|
||||
begin
|
||||
{ add your help code here }
|
||||
if aError<>'' then
|
||||
Writeln('Error : ',aError);
|
||||
writeln('Usage: ', ExeName, ' [options]');
|
||||
Writeln('where options is one or more of:');
|
||||
Writeln('-h --help this help text');
|
||||
|
Loading…
Reference in New Issue
Block a user