Cleanup zebra-checkpoints
This commit is contained in:
parent
a3c7ca94b4
commit
7dd6f1842e
|
@ -2,13 +2,10 @@
|
||||||
//!
|
//!
|
||||||
//! For usage please refer to the program help: `zebra-checkpoints --help`
|
//! For usage please refer to the program help: `zebra-checkpoints --help`
|
||||||
|
|
||||||
#![deny(missing_docs)]
|
|
||||||
#![allow(clippy::try_err)]
|
|
||||||
|
|
||||||
use structopt::StructOpt;
|
use structopt::StructOpt;
|
||||||
|
|
||||||
/// zebra-checkpoints arguments
|
/// zebra-checkpoints arguments
|
||||||
#[derive(Debug, StructOpt)]
|
#[derive(Clone, Debug, Eq, PartialEq, StructOpt)]
|
||||||
pub struct Args {
|
pub struct Args {
|
||||||
/// Path to zcash-cli command
|
/// Path to zcash-cli command
|
||||||
#[structopt(default_value = "zcash-cli", short, long)]
|
#[structopt(default_value = "zcash-cli", short, long)]
|
||||||
|
|
|
@ -62,8 +62,8 @@ fn cmd_output(cmd: &mut std::process::Command) -> Result<String> {
|
||||||
|
|
||||||
#[allow(clippy::print_stdout)]
|
#[allow(clippy::print_stdout)]
|
||||||
fn main() -> Result<()> {
|
fn main() -> Result<()> {
|
||||||
|
// initialise
|
||||||
init_tracing();
|
init_tracing();
|
||||||
|
|
||||||
color_eyre::install()?;
|
color_eyre::install()?;
|
||||||
|
|
||||||
// get the current block count
|
// get the current block count
|
||||||
|
|
Loading…
Reference in New Issue