Skip to content

Commit

Permalink
error as a default
Browse files Browse the repository at this point in the history
  • Loading branch information
kaplanelad committed Jul 28, 2024
1 parent feafbcc commit 541d77c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion loco-cli/src/bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use tracing_subscriber::EnvFilter;
#[command(author, version, about, long_about = None)]
#[command(propagate_version = true)]
struct Cli {
#[arg(global = true, short, long, value_enum, default_value = "INFO")]
#[arg(global = true, short, long, value_enum, default_value = "ERROR")]
/// Verbosity level
verbose: LevelFilter,

Expand Down
2 changes: 1 addition & 1 deletion loco-cli/tests/cmd/cli.trycmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Usage: loco[EXE] new [OPTIONS]

Options:
-p, --path <PATH> Local path to generate into [default: .]
-v, --verbose <VERBOSE> Verbosity level [default: INFO]
-v, --verbose <VERBOSE> Verbosity level [default: ERROR]
-h, --help Print help
-V, --version Print version

Expand Down

0 comments on commit 541d77c

Please sign in to comment.