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
Set default for --checks to None
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
ggwpez committed Jan 3, 2023
commit d6b2f4d378cace76e20504d8e6d490bd4940ecf6
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ pub struct OnRuntimeUpgradeCmd {

/// Select which optional checks to perform:
///
/// - `all`: Perform all checks (default).
/// - `none`: Perform no checks (default).
/// - `all`: Perform all checks.
/// - `pre-and-post`: Perform pre- and post-upgrade checks.
/// - `try-state`: Perform the try-state checks.
/// - `none`: Perform no checks.
///
/// Performing any checks will potentially invalidate the measured PoV/Weight.
#[clap(long, default_value = "All", verbatim_doc_comment)]
#[clap(long, default_value = "None", verbatim_doc_comment)]
pub checks: UpgradeCheckSelect,
}

Expand Down