Shape.Flag_infotype t = {name : Base.string;See flag_name below.
doc : Base.string;aliases : Base.string Base.list;}include Ppx_compare_lib.Comparable.S with type t := tval aliases : t -> Base.string Base.listval doc : t -> Base.stringval name : t -> Base.stringmodule Fields : sig ... endval sexp_of_t : t -> Sexplib0.Sexp.tval flag_name : t -> Base.string Base.Or_error.tflag_name infers the string which one would pass on the command line. It is not the same as the raw name field, which additionally encodes num_occurrences and requires_arg (sort of).
val num_occurrences : t -> Num_occurrences.t Base.Or_error.tval requires_arg : t -> Base.bool Base.Or_error.trequires_arg gives undefined behavior on escape flags. This is a limitation of the underlying shape representation.
val t_of_sexp : Base.Sexp.t -> t