Commit e7bb484e authored by p's avatar p

Node: print config file options in manpage

parent 697b2917
Pipeline #17767223 passed with stages
in 10 minutes and 8 seconds
......@@ -123,9 +123,17 @@ module Manpage = struct
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 =
description @
Node_shared_arg.Manpage.args @
options @
Node_shared_arg.Manpage.bugs
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_bootstrap_addrs: string list -> (P2p_addr.t * int) list Lwt.t
val encoding: t Data_encoding.t
val check: t -> unit Lwt.t
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment