Forum > Third party
New unit is available on GitHub to process CommandLine options
(1/1)
jollytall:
From the previous three topics on GetOpt (https://forum.lazarus.freepascal.org/index.php/topic,56693.0.html, https://forum.lazarus.freepascal.org/index.php/topic,56701.0.html and ) there was no one single reply (so-far). So, to me it seems not too many people use it.
It can have two reasons:
Command Line options (CLO) are not widely used. This would be a pretty, as CLOs are useful even for GUI application, e.g. for drag and drop launch of an app with a filename to process.
CLOs are used, but GetOpt is not the ideal tool to use. To me this seems more likely, as I found the usage of GetOpt difficult with missing functionality and potential bugs.
So I made and uploaded to GitHub a new unit that works differently. If you want to use CLOs, I would recommend to check that one too. Link: https://github.com/zsoltszakaly/getoptionsforpascal
Navigation
[0] Message Index