Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Prev Previous commit
Next Next commit
cli: Keep finalized notation and remove canonical one
  • Loading branch information
lexnv authored Dec 1, 2022
commit fdbc9a09fb8b4eb84be4667996e3b9f72a506187
8 changes: 4 additions & 4 deletions client/cli/src/params/pruning_params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ pub struct PruningParams {
///
/// Options available:
/// 'archive' Keep the state of all blocks.
/// 'archive-canonical' Keep only the state of finalized (canonical) blocks.
/// [number] Keep the state of the last number of finalized (canonical) blocks.
/// 'archive-canonical' Keep only the state of finalized blocks.
/// [number] Keep the state of the last number of finalized blocks.
///
/// The default option is to keep the last 256 blocks (number == 256).
#[arg(alias = "pruning", long, value_name = "PRUNING_MODE")]
Expand All @@ -43,8 +43,8 @@ pub struct PruningParams {
///
/// Options available:
/// 'archive' Keep all blocks.
/// 'archive-canonical' Keep only finalized (canonical) blocks.
/// [number] Keep the last number of finalized (canonical) blocks.
/// 'archive-canonical' Keep only finalized blocks.
/// [number] Keep the last number of finalized blocks.
///
/// The default option is 'archive-canonical'.
#[arg(alias = "keep-blocks", long, value_name = "COUNT")]
Expand Down