From a0c0a110414e3723142895708d49c829d9c65058 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 14 Oct 2023 10:19:25 +0200 Subject: [PATCH] restore default loglevel to INFO --- src/command/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)]