diff --git a/src/command/mod.rs b/src/command/mod.rs index 284c7fb6..dc129e98 100644 --- a/src/command/mod.rs +++ b/src/command/mod.rs @@ -12,7 +12,7 @@ use crate::config; use crate::expand_path; use anyhow::anyhow; use clap::Parser; -use clap_verbosity_flag::Verbosity; +use clap_verbosity_flag::{Verbosity, InfoLevel}; use log::warn; use std::{ env, @@ -54,7 +54,7 @@ pub struct Cli { /// Log verbosity is based off the number of v used #[clap(flatten)] - pub verbose: Verbosity, + pub verbose: Verbosity, /// Run as if treefmt was started in instead of the current working directory. #[arg(short = 'C', default_value = ".", value_parser = parse_path)]