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
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Lazarus Main and Gnome/Wa...
by
dbannon
[
Today
at 04:54:01 am]
FPC Unleashed (inline var...
by
440bx
[
Today
at 01:25:18 am]
Splitting Picture into Qu...
by
ADMGNS
[June 06, 2026, 10:44:04 pm]
[New Component] ExtTabCtr...
by
wp
[June 06, 2026, 10:19:06 pm]
water filling simulation
by
ADMGNS
[June 06, 2026, 09:54:50 pm]
Array of structure -> str...
by
Seenkao
[June 06, 2026, 09:44:44 pm]
Very rough version of a s...
by
Hansvb
[June 06, 2026, 08:56:35 pm]
Portable verion of FPC an...
by
backprop
[June 06, 2026, 08:40:34 pm]
GDB 17 for Windows
by
Martin_fr
[June 06, 2026, 08:26:24 pm]
TStringGrid Question
by
J-G
[June 06, 2026, 08:05:52 pm]
Benchmark: converting arr...
by
LemonParty
[June 06, 2026, 03:25:25 pm]
Read/Parse PDB file to ge...
by
marcov
[June 06, 2026, 02:48:12 pm]
[SOVLED]Curved text in La...
by
paweld
[June 06, 2026, 11:00:52 am]
Fast Canvas Library V1.05...
by
microxa
[June 06, 2026, 07:03:07 am]
"Identifier idents no mem...
by
Thaddy
[June 06, 2026, 05:43:52 am]
[SOLVED] TPrintDialog Pro...
by
spuds
[June 06, 2026, 01:30:20 am]
TPairsplitter could be be...
by
jamie
[June 06, 2026, 12:36:34 am]
FloatToStr issue
by
J-G
[June 06, 2026, 12:06:38 am]
Release ray4laz 6.0
by
Fred vS
[June 05, 2026, 09:06:27 pm]
Pascal for AI Agent CLI T...
by
Martin_fr
[June 05, 2026, 08:01:11 pm]
storing assets for releas...
by
flowCRANE
[June 05, 2026, 07:30:13 pm]
Benchmark aligned vs unal...
by
LeP
[June 05, 2026, 06:33:08 pm]
TstringGrid read cell col...
by
hedgehog
[June 05, 2026, 06:29:11 pm]
Range checks and `Move` o...
by
ASerge
[June 05, 2026, 05:17:19 pm]
Why is var after type in ...
by
Warfley
[June 05, 2026, 02:36:17 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: New unit is available on GitHub to process CommandLine options (Read 1563 times)
jollytall
Sr. Member
Posts: 380
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