Admin: improve documentation

This commit is contained in:
Vincent Botbol 2018-09-19 17:46:48 +02:00
parent bd116f3db7
commit 8e7da9281e
No known key found for this signature in database
GPG Key ID: A2CE1BDBED95DA38
3 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ let commands () =
command ~group ~desc: "Inject a new protocol into the node."
no_options
(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)
(fun () dirname (cctxt : #Client_context.full) ->
Lwt.catch

View File

@ -29,10 +29,10 @@ let commands () =
title = "Commands to perform privileged operations on the node" } in
[
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
(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) ->
iter_s
(fun block ->

View File

@ -192,7 +192,7 @@ let commands () =
return_unit
) ;
command ~group ~desc: "Clear all ACLs."
command ~group ~desc: "Clear all access control rules."
no_options
(prefixes [ "clear" ; "acls" ] @@ stop)
(fun () (cctxt : #Client_context.full) ->