diff --git a/substrate/core/cli/src/params.rs b/substrate/core/cli/src/params.rs index 59d1d68233a877920a0a59165aca5e04c74735a8..3ae791869fa1e547acf30c9e8435f3789b974133 100644 --- a/substrate/core/cli/src/params.rs +++ b/substrate/core/cli/src/params.rs @@ -91,7 +91,7 @@ pub struct CoreParams { /// Specify the pruning mode, a number of blocks to keep or 'archive'. Default is 256. #[structopt(long = "pruning", value_name = "PRUNING_MODE")] - pruning: Option<u32>, + pruning: Option<String>, /// The human-readable name for this node, as reported to the telemetry server, if enabled #[structopt(long = "name", value_name = "NAME")]