Commit 8a24e273 authored by Alexandru Vasile's avatar Alexandru Vasile Committed by GitHub
Browse files

cli: Improve pruning documentation (#12819)



* cli: Improve pruning documentation

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* cli: Keep `finalized` notation and remove `canonical` one

* cli: Fix cargo doc

* cli: `PruningModeClap` IR enum

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* cli: Convert PruningModeClap into pruning modes

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* cli: Use `PruningModeClap`

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* cli: Rename to `DatabasePruningMode`

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* cli: Implement `FromStr` instead of `clap::ValueEnum`

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* Update client/cli/src/params/pruning_params.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Fix clippy

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* cli: Add option documentation back

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* Apply suggestions from code review

Signed-off-by: default avatarAlexandru Vasile <[email protected]>
Co-authored-by: default avatarBastian Köcher <[email protected]>
parent e8b48f3b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment