From 7dd6f1842ec51a713e56207e6fba11d19192e35b Mon Sep 17 00:00:00 2001 From: teor Date: Fri, 13 Jan 2023 09:01:52 +1000 Subject: [PATCH] Cleanup zebra-checkpoints --- zebra-utils/src/bin/zebra-checkpoints/args.rs | 5 +---- zebra-utils/src/bin/zebra-checkpoints/main.rs | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/zebra-utils/src/bin/zebra-checkpoints/args.rs b/zebra-utils/src/bin/zebra-checkpoints/args.rs index 283b5f557..7af67a8c7 100644 --- a/zebra-utils/src/bin/zebra-checkpoints/args.rs +++ b/zebra-utils/src/bin/zebra-checkpoints/args.rs @@ -2,13 +2,10 @@ //! //! For usage please refer to the program help: `zebra-checkpoints --help` -#![deny(missing_docs)] -#![allow(clippy::try_err)] - use structopt::StructOpt; /// zebra-checkpoints arguments -#[derive(Debug, StructOpt)] +#[derive(Clone, Debug, Eq, PartialEq, StructOpt)] pub struct Args { /// Path to zcash-cli command #[structopt(default_value = "zcash-cli", short, long)] diff --git a/zebra-utils/src/bin/zebra-checkpoints/main.rs b/zebra-utils/src/bin/zebra-checkpoints/main.rs index 08d14c8ad..f15043e44 100644 --- a/zebra-utils/src/bin/zebra-checkpoints/main.rs +++ b/zebra-utils/src/bin/zebra-checkpoints/main.rs @@ -62,8 +62,8 @@ fn cmd_output(cmd: &mut std::process::Command) -> Result { #[allow(clippy::print_stdout)] fn main() -> Result<()> { + // initialise init_tracing(); - color_eyre::install()?; // get the current block count