Dear all,
if I build a simple console application, just created by lazarus and I run it using the -help option I get this error:
project1 -help
exception at 00000000:
Invalid option at position 1: "e".

Both in windows and linux. The result is given by:
ErrorMsg:=CheckOptions('h','help');
While HasOption('h','help') interpret correctly the long option -help.

Best regards,
Andrea

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to