You can search for identifiers within the package.
in-package search v0.2.0
type irc_log = [
| `None
| `Chan of Lwt_io.output_channel
| `Custom of string -> unit Lwt.t
]
type t = {
server : string;
port : int;
username : string;
realname : string;
nick : string;
tls : bool;
channel : string;
state_file : string;
irc_log : irc_log;
}
val default : t
val parse : t -> string array -> t
parse conf args is the same as conf, but some command line arguments can override its fields
parse conf args
conf
val of_argv : unit -> t
Parsed from Sys.argv Will call exit if Arg.parse fails
Sys.argv
exit
Arg.parse