Skip to content

Commit

Permalink
restore default loglevel to INFO
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Oct 14, 2023
1 parent 2e129d9 commit a0c0a11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/command/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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)]
Expand Down

0 comments on commit a0c0a11

Please sign in to comment.