fix cli args (#31804)
This commit is contained in:
parent
8cb30d0693
commit
aff9c03e7a
|
@ -1541,15 +1541,15 @@ fn main() {
|
||||||
.help("After 'verify' completes, run a final accounts hash calculation. Final hash calculation could race with accounts background service tasks and assert."),
|
.help("After 'verify' completes, run a final accounts hash calculation. Final hash calculation could race with accounts background service tasks and assert."),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("partitioned-epoch-rewards-compare-calculation")
|
Arg::with_name("partitioned_epoch_rewards_compare_calculation")
|
||||||
.long("partitioned_epoch_rewards_compare_calculation")
|
.long("partitioned-epoch-rewards-compare-calculation")
|
||||||
.takes_value(false)
|
.takes_value(false)
|
||||||
.help("Do normal epoch rewards distribution, but also calculate rewards using the partitioned rewards code path and compare the resulting vote and stake accounts")
|
.help("Do normal epoch rewards distribution, but also calculate rewards using the partitioned rewards code path and compare the resulting vote and stake accounts")
|
||||||
.hidden(hidden_unless_forced())
|
.hidden(hidden_unless_forced())
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("partitioned-epoch-rewards-force-enable-single-slot")
|
Arg::with_name("partitioned_epoch_rewards_force_enable_single_slot")
|
||||||
.long("partitioned_epoch_rewards_force_enable_single_slot")
|
.long("partitioned-epoch-rewards-force-enable-single-slot")
|
||||||
.takes_value(false)
|
.takes_value(false)
|
||||||
.help("Force the partitioned rewards distribution, but distribute all rewards in the first slot in the epoch. This should match consensus with the normal rewards distribution.")
|
.help("Force the partitioned rewards distribution, but distribute all rewards in the first slot in the epoch. This should match consensus with the normal rewards distribution.")
|
||||||
.conflicts_with("partitioned_epoch_rewards_compare_calculation")
|
.conflicts_with("partitioned_epoch_rewards_compare_calculation")
|
||||||
|
|
|
@ -1244,15 +1244,15 @@ pub fn app<'a>(version: &'a str, default_args: &'a DefaultArgs) -> App<'a, 'a> {
|
||||||
.help("Number of bins to divide the accounts index into"),
|
.help("Number of bins to divide the accounts index into"),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("partitioned-epoch-rewards-compare-calculation")
|
Arg::with_name("partitioned_epoch_rewards_compare_calculation")
|
||||||
.long("partitioned_epoch_rewards_compare_calculation")
|
.long("partitioned-epoch-rewards-compare-calculation")
|
||||||
.takes_value(false)
|
.takes_value(false)
|
||||||
.help("Do normal epoch rewards distribution, but also calculate rewards using the partitioned rewards code path and compare the resulting vote and stake accounts")
|
.help("Do normal epoch rewards distribution, but also calculate rewards using the partitioned rewards code path and compare the resulting vote and stake accounts")
|
||||||
.hidden(hidden_unless_forced())
|
.hidden(hidden_unless_forced())
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("partitioned-epoch-rewards-force-enable-single-slot")
|
Arg::with_name("partitioned_epoch_rewards_force_enable_single_slot")
|
||||||
.long("partitioned_epoch_rewards_force_enable_single_slot")
|
.long("partitioned-epoch-rewards-force-enable-single-slot")
|
||||||
.takes_value(false)
|
.takes_value(false)
|
||||||
.help("Force the partitioned rewards distribution, but distribute all rewards in the first slot in the epoch. This should match consensus with the normal rewards distribution.")
|
.help("Force the partitioned rewards distribution, but distribute all rewards in the first slot in the epoch. This should match consensus with the normal rewards distribution.")
|
||||||
.conflicts_with("partitioned_epoch_rewards_compare_calculation")
|
.conflicts_with("partitioned_epoch_rewards_compare_calculation")
|
||||||
|
|
Loading…
Reference in New Issue