Skip to content

Commit

Permalink
Fix incorrect argument names for --trusted-hash-file in commands.md (#…
Browse files Browse the repository at this point in the history
…4531)

`--trusted-hash-file` is the name of the argument
  • Loading branch information
marta-lokhova authored Nov 4, 2024
2 parents 1add5f9 + e86a221 commit 268f666
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/software/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,12 @@ apply.
to write the trusted checkpoint hashes to. The file will contain a JSON array
of arrays, where each inner array contains the ledger number and the corresponding
checkpoint hash of the form `[[999, "hash-abc"], [935, "hash-def"], ... [0, "hash-xyz]]`.
* Option **--trusted-checkpoint-file <FILE-NAME>** is optional. If provided,
* Option **--trusted-hash-file <FILE-NAME>** is optional. If provided,
stellar-core will parse the latest checkpoint ledger number and hash from the file and verify from this ledger to the latest checkpoint ledger obtained from the network.
* Option **--from-ledger <LEDGER-NUMBER>** is optional and specifies the ledger
number to start the verification from.

> Note: It is an error to provide both the `--trusted-checkpoint-hashes` and `--from-ledger` options.
> Note: It is an error to provide both the `--trusted-hash-file` and `--from-ledger` options.
* **version**: Print version info and then exit.

Expand Down

0 comments on commit 268f666

Please sign in to comment.