Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Announcements
»
Third party
»
New unit is available on GitHub to process CommandLine options
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
IfThen function
by
BobDog
[
Today
at 10:20:30 pm]
[SOLVED] How to get rid o...
by
Nevada Smith
[
Today
at 08:48:20 pm]
bug on online package man...
by
calebs
[
Today
at 08:34:05 pm]
msgrcv only succeeds if m...
by
TCH
[
Today
at 07:26:35 pm]
What is the best free pot...
by
Alienizering
[
Today
at 06:53:59 pm]
backconnect sock proxy ? ...
by
ZainPeck
[
Today
at 05:50:54 pm]
LazReport: Error using Hi...
by
luca
[
Today
at 05:39:29 pm]
[SOLVED] TPointF Not Foun...
by
J-G
[
Today
at 04:41:43 pm]
How can i run application...
by
rvk
[
Today
at 03:42:58 pm]
Optimizing the counter co...
by
BrunoK
[
Today
at 03:39:06 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: New unit is available on GitHub to process CommandLine options (Read 1054 times)
jollytall
Full Member
Posts: 205
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
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Announcements
»
Third party
»
New unit is available on GitHub to process CommandLine options
TinyPortal
© 2005-2018