Module Logtk.Options
Global CLI options
val input_format_of_string : string -> input_format
type print_format
= Output_format.t
=
|
O_none
|
O_normal
|
O_tptp
|
O_zf
val print_format_of_string : string -> print_format
- raises Failure
if it could not parse
val input : input_format Pervasives.ref
val output : print_format Pervasives.ref
Output format
val switch_opt : 'a -> ('a -> unit) -> Arg.spec
switch_opt b f
is an option that, when parsed, will callf b
. Useful for[ ("--foo", switch_opt true set_foo, " enable foo" ; ("--no-foo", switch_opt false set_foo, " disable foo"]