Recent

Author Topic: New unit is available on GitHub to process CommandLine options  (Read 1240 times)

jollytall

  • Sr. Member
  • ****
  • Posts: 306
New unit is available on GitHub to process CommandLine options
« on: October 15, 2021, 09:56:48 am »
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

 

TinyPortal © 2005-2018