fix pruning arg type (#1332)

This commit is contained in:
toxotguo
2018-12-27 20:35:05 +08:00
committed by Robert Habermeier
parent 11f77464fb
commit 236208b6cb
+1 -1
View File
@@ -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")]