Hi,
TCustomApplication, fpc-2.6.0
./mycmdtool --inputfile=myfile withspace.txt
GetOptionValue('i','inputfile') returns only "myfile"
same thing happens if I try:
./mycmdtool "--inputfile=myfile withspace.txt"
./mycmdtool --inputfile="myfile withspace.txt"
./mycmdtool --inputfile='myfile withspace.txt'
How to fix this (have param value with space) ? Any workarounds if it's bug in
TCustomApplication or whatever ?
This is tested on linux, but I need it on windows too.
zeljko
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus