Node: print config file options in manpage
This commit is contained in:
parent
697b291782
commit
e7bb484ead
@ -123,9 +123,17 @@ module Manpage = struct
|
|||||||
entries in the Tezos configuration file."
|
entries in the Tezos configuration file."
|
||||||
]
|
]
|
||||||
|
|
||||||
|
let schema = Data_encoding.Json.schema (Node_config_file.encoding)
|
||||||
|
let options = [
|
||||||
|
`S "OPTIONS" ;
|
||||||
|
`P "All options available in the config file";
|
||||||
|
`Pre (Format.asprintf "@[%a@]" Json_schema.pp schema)
|
||||||
|
]
|
||||||
|
|
||||||
let man =
|
let man =
|
||||||
description @
|
description @
|
||||||
Node_shared_arg.Manpage.args @
|
Node_shared_arg.Manpage.args @
|
||||||
|
options @
|
||||||
Node_shared_arg.Manpage.bugs
|
Node_shared_arg.Manpage.bugs
|
||||||
|
|
||||||
let info =
|
let info =
|
||||||
|
@ -84,4 +84,6 @@ val resolve_listening_addrs: string -> (P2p_addr.t * int) list Lwt.t
|
|||||||
val resolve_rpc_listening_addrs: string -> (P2p_addr.t * int) list Lwt.t
|
val resolve_rpc_listening_addrs: string -> (P2p_addr.t * int) list Lwt.t
|
||||||
val resolve_bootstrap_addrs: string list -> (P2p_addr.t * int) list Lwt.t
|
val resolve_bootstrap_addrs: string list -> (P2p_addr.t * int) list Lwt.t
|
||||||
|
|
||||||
|
val encoding: t Data_encoding.t
|
||||||
|
|
||||||
val check: t -> unit Lwt.t
|
val check: t -> unit Lwt.t
|
||||||
|
Loading…
Reference in New Issue
Block a user