type optparser = string -> [ `Process_next of bool ]
val prefset : 'a Stdlib.ref -> 'a -> unit
val prefsetv : 'a Stdlib.ref -> 'a -> 'b -> unit
val scanfparser :
('a,
Stdlib.Scanf.Scanning.in_channel,
'b,
'c ->
unit,
'a ->
[> `Process_next of bool ] as 'd,
'd)
Stdlib.format6 ->
'c ->
optparser
val exactparser : string -> (unit -> unit) -> optparser
val parse_opts :
optparser list ->
?argsource:(string array * int) ->
unit ->
unit
val parse_opts_args :
?optprefix:string ->
?optsep:string ->
optparser list ->
?argsource:(string array * int) ->
unit ->
string list