VSoft.CommandLineParser
VSoft.CommandLineParser copied to clipboard
Simple Command Line Options Parser - part of the DUnitX Project
When registering an option it would be handy to be able to define a default value for the parameter, which will also be mentioned in the Usage: string
Unnamed parameters should also have a name, so they can be explained in the usage string
Allow the user to implement his own validation implementation i.e. by implementing an OnValidation event as TValidationEvent = function(aOption: IOptionDefinition; const Value: string): boolean
In `VSoft.CommandLine.OptionDef.pas`, under `tkFloat:` in `TOptionDefinition.Invoke`, `StrToFloat` is called, but `StrToFloat` is locale specific. This means that on most European machines, `StrToFloat` will assume ',' as a decimal separator and...
In the master branch in `vsoft.commandline.options.pas` at line `348` the check `if numDescStrings > 1` is probably wrong and the first option help text is never displayed in print usage....