Admin: improve documentation
This commit is contained in:
parent
bd116f3db7
commit
8e7da9281e
@ -49,7 +49,7 @@ let commands () =
|
|||||||
command ~group ~desc: "Inject a new protocol into the node."
|
command ~group ~desc: "Inject a new protocol into the node."
|
||||||
no_options
|
no_options
|
||||||
(prefixes [ "inject" ; "protocol" ]
|
(prefixes [ "inject" ; "protocol" ]
|
||||||
@@ param ~name:"dir" ~desc:"directory containing a protocol" check_dir_parameter
|
@@ param ~name:"dir" ~desc:"directory containing the sources of a protocol" check_dir_parameter
|
||||||
@@ stop)
|
@@ stop)
|
||||||
(fun () dirname (cctxt : #Client_context.full) ->
|
(fun () dirname (cctxt : #Client_context.full) ->
|
||||||
Lwt.catch
|
Lwt.catch
|
||||||
|
@ -29,10 +29,10 @@ let commands () =
|
|||||||
title = "Commands to perform privileged operations on the node" } in
|
title = "Commands to perform privileged operations on the node" } in
|
||||||
[
|
[
|
||||||
command ~group
|
command ~group
|
||||||
~desc: "Make the node forget its decision of rejecting a block."
|
~desc: "Make the node forget its decision of rejecting blocks."
|
||||||
no_options
|
no_options
|
||||||
(prefixes [ "unmark" ; "invalid" ]
|
(prefixes [ "unmark" ; "invalid" ]
|
||||||
@@ seq_of_param (Block_hash.param ~name:"block" ~desc:"block to remove from invalid list"))
|
@@ seq_of_param (Block_hash.param ~name:"blocks" ~desc:"blocks to remove from invalid list"))
|
||||||
(fun () blocks (cctxt : #Client_context.full) ->
|
(fun () blocks (cctxt : #Client_context.full) ->
|
||||||
iter_s
|
iter_s
|
||||||
(fun block ->
|
(fun block ->
|
||||||
|
@ -192,7 +192,7 @@ let commands () =
|
|||||||
return_unit
|
return_unit
|
||||||
) ;
|
) ;
|
||||||
|
|
||||||
command ~group ~desc: "Clear all ACLs."
|
command ~group ~desc: "Clear all access control rules."
|
||||||
no_options
|
no_options
|
||||||
(prefixes [ "clear" ; "acls" ] @@ stop)
|
(prefixes [ "clear" ; "acls" ] @@ stop)
|
||||||
(fun () (cctxt : #Client_context.full) ->
|
(fun () (cctxt : #Client_context.full) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user