Node: fix typos in help pages

This commit is contained in:
Wyatt Sullivan 2017-07-21 16:16:53 -05:00 committed by Benjamin Canou
parent 7bfaf2fe9b
commit 9b2d0882b1
2 changed files with 5 additions and 5 deletions

View File

@ -113,11 +113,11 @@ module Manpage = struct
factory default one. \ factory default one. \
If additional command-line arguments are provided, \ If additional command-line arguments are provided, \
they will amend the generated file. \ they will amend the generated file. \
It assumes that a configuration file already exists, \ It assumes that a configuration file already exists \
and will abort otherwise." ; and will abort otherwise." ;
`P "$(b,init) is like reset but assumes that \ `P "$(b,init) is like reset but assumes that \
no configuration file is present, \ no configuration file is present \
and will abort other otherwise." ; and will abort otherwise." ;
`P "$(b,update) is the main option to edit the configuration file of Tezos. \ `P "$(b,update) is the main option to edit the configuration file of Tezos. \
It will parse command line arguments and add or replace corresponding \ It will parse command line arguments and add or replace corresponding \
entries in the Tezos configuration file." entries in the Tezos configuration file."

View File

@ -97,7 +97,7 @@ module Term = struct
let doc = let doc =
"Expected amount of proof-of-work for the node identity. \ "Expected amount of proof-of-work for the node identity. \
The optional parameter should be a float between 0 and 256, where The optional parameter should be a float between 0 and 256, where
0 disable the proof-of-work mechanism." in 0 disables the proof-of-work mechanism." in
Arg.(value & pos 1 (some float) None & info [] ~docv:"DIFFICULTY" ~doc) Arg.(value & pos 1 (some float) None & info [] ~docv:"DIFFICULTY" ~doc)
let term = let term =
@ -128,7 +128,7 @@ module Manpage = struct
This is the default operation." ; This is the default operation." ;
`P "$(b,generate [difficulty]) generates an identity whose \ `P "$(b,generate [difficulty]) generates an identity whose \
proof of work stamp difficulty is at least equal to $(i,difficulty). \ proof of work stamp difficulty is at least equal to $(i,difficulty). \
The value provided must be a floating point number between 0 and 128. \ The value provided must be a floating point number between 0 and 256. \
It roughly reflects the numbers of expected leading zeroes in the hash \ It roughly reflects the numbers of expected leading zeroes in the hash \
of the identity data-structure. \ of the identity data-structure. \
Therefore, a value of 0 means no proof-of-work, and the difficulty \ Therefore, a value of 0 means no proof-of-work, and the difficulty \