Module Cmdliner.Manpage

type block = [
  1. | `Blocks of block list
  2. | `I of string * string
  3. | `Noblank
  4. | `P of string
  5. | `Pre of string
  6. | `S of string
]
val escape : string -> string
type title = string * int * string * string * string
type t = title * block list
type xref = [
  1. | `Cmd of string
  2. | `Main
  3. | `Page of string * int
  4. | `Tool of string
]
val s_name : string
val s_synopsis : string
val s_description : string
val s_commands : string
val s_arguments : string
val s_options : string
val s_common_options : string
val s_exit_status : string
val s_environment : string
val s_environment_intro : block
val s_files : string
val s_bugs : string
val s_examples : string
val s_authors : string
val s_see_also : string
val s_none : string
type format = [
  1. | `Auto
  2. | `Groff
  3. | `Pager
  4. | `Plain
]
val print : ?errs:Format.formatter -> ?subst:(string -> string option) -> format -> Format.formatter -> t -> unit