* Actually write error message if there is one

This commit is contained in:
Michaël Van Canneyt 2022-06-19 17:22:07 +02:00
parent 7335f0c1d6
commit a0f69557cc

View File

@ -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');