On 2012-12-08 11:30, Michael Van Canneyt wrote:
> var
>    ErrorMsg: String;
> begin
>    writeln(getoptionvalue('f','file'));
>    Terminate;


Using the above as a test app, I get exactly the same results and
Michael. It works fire here under Linux (OpenSUSE 12.2)

----8<-------------8<-------------8<-------------8<-------------8<----
[tmp]$ ./project1

[tmp]$ ./project1 -f "my long file.txt"
my long file.txt
[tmp]$ ./project1 -f 'my long file.txt'
my long file.txt
[tmp]$ ./project1 --file="my long file.txt"
my long file.txt
[tmp]$ ./project1 "--file=my long file.txt"
my long file.txt
[tmp]$ ./project1 --file='my long file.txt'
my long file.txt
----8<-------------8<-------------8<-------------8<-------------8<----


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to