[fpc-devel] Missing command line parameters in Linux FPC

Mark Morgan Lloyd markMLl.fpc-devel at telemetry.co.uk
Wed Mar 17 15:39:38 CET 2010


Jonas Maebe wrote:

> Only options that are valid for the target architecture of the fpc 
> binary should be shown, because showing options that are known not to 
> work or that don't do anything mainly causes confusion.

What about -an which needs extdebug defined before it works? I'd suggest 
that possibly 'fpc' or 'fpc -?' should display the currently-usable set, 
but -h which is more likely to be used by people who aren't utter 
beginners should display everything with [disabled] annotation where 
necessary.

While on this, I'd suggest that minimally-sensible output in response to 
--version and --help would be useful since this usage is so common these 
days.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-devel mailing list