mirror of
https://github.com/numtide/treefmt.git
synced 2024-09-11 17:07:44 +03:00
restore default loglevel to INFO
This commit is contained in:
parent
c836a5fcee
commit
bf5ae09dbd
@ -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::{InfoLevel, Verbosity};
|
||||
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<InfoLevel>,
|
||||
|
||||
/// Run as if treefmt was started in <work-dir> instead of the current working directory.
|
||||
#[arg(short = 'C', default_value = ".", value_parser = parse_path)]
|
||||
|
Loading…
Reference in New Issue
Block a user