TOption
Long option description record
Declaration
Source position: getopts.pp line 32
Type
TOption = record
public
Name : string;
Has\_arg : Integer;
Flag : PChar;
Value : Char;
procedure SetOption(const aName: string; AHas\_Arg: Integer;
AFlag: PChar; AValue: Char);
end
Description
The TOption type is used to communicate the long options to GetLongOpts . The Name field is the name of the option. Has_arg specifies if the option wants an argument, Flag is a pointer to a char, which is set to Value, if it is non-nil.