On 2020-11-20 09:32, Graeme Geldenhuys via fpc-pascal wrote:
On 20/11/2020 7:04 am, Sven Barth via fpc-pascal wrote:
a way to convert the
option list to TConsoleApplication's argument handling so that one
doesn't
have to declare that twice.
Oh, I really like that idea. I'll make sure to include both of those
mentioned.
Just a comment - I'm not sure how much general the "mandatory" part is.
More complex console programs often have "commands" and those have
different requirements for additional options. As an example, remember
options for common archivers (rar, arj, ...), command-line version
control programs (cvs, svn, ...), etc.
Tomas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal