Skip to content
This repository was archived by the owner on Jan 9, 2020. It is now read-only.

Commit 9964a28

Browse files
authored
Merge pull request #19 from oracle/verbosity
fix logic around verbosity levels
2 parents 9a58ea1 + 83005a1 commit 9964a28

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "railcar"
3-
version = "1.0.2"
3+
version = "1.0.3"
44
authors = ["Vishvananda Ishaya Abrams <[email protected]>"]
55
build = "build.rs"
66

src/main.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -367,9 +367,7 @@ fn run() -> Result<()> {
367367
.get_matches_from(get_args());
368368
let level = match matches.occurrences_of("v") {
369369
0 => log::LogLevelFilter::Info, //default
370-
1 => log::LogLevelFilter::Warn,
371-
2 => log::LogLevelFilter::Error,
372-
3 => log::LogLevelFilter::Debug,
370+
1 => log::LogLevelFilter::Debug,
373371
_ => log::LogLevelFilter::Trace,
374372
};
375373

0 commit comments

Comments
 (0)