class typesignature for all flags[['a, 'b]]
flag_type =object
..end
A flag represents a setting (Flags.flag_type.value
).
Its input might 'b
be of a different type
than the stored setting 'a
,
especially for the special flags which take strings as input,
but store custom types internally (opt_xxx
).
method id : flag_id
method short_name : string
method long_name : string
method description : string list
method value : 'a
method is_default : bool
method argument_to_string : 'b -> string
method value_to_string : 'a -> string
method opt_to_string : string list
method signature : string
method set : 'b -> unit
Arg.Bad
exception on failure.method set_opt : 'a -> unit