Skip to content

Commit f502dd7

Browse files
committed
fix for verbosity level
1 parent 9ea8e9a commit f502dd7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/args.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,10 @@ impl<'a> ArgMatches<'a> {
159159

160160
/// Return path to config file.
161161
fn info_level(&self) -> InfoLevel {
162-
match self.occurrences_of("info_level") {
163-
0 => { InfoLevel::Quiet },
164-
1 => { InfoLevel::Normal },
165-
2 | _ => { InfoLevel::Verbose },
162+
match self.occurrences_of("verbose") {
163+
0 => InfoLevel::Quiet,
164+
1 => InfoLevel::Normal,
165+
2 | _ => InfoLevel::Verbose,
166166
}
167167
}
168168

0 commit comments

Comments
 (0)