aboutsummaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
authorgolem131 <golem131@users.noreply.github.com>2018-01-26 23:20:42 +0300
committerChristian Duerr <chrisduerr@users.noreply.github.com>2018-01-26 20:20:42 +0000
commitb82622e9948d1c90fc628739c7f328816214fb33 (patch)
tree4b0d306460c302258953f758c19cba60bad2ee06 /src/cli.rs
parent59b561b440060e7b0d13160fb69519d127e6c687 (diff)
downloadalacritty-b82622e9948d1c90fc628739c7f328816214fb33.tar.gz
alacritty-b82622e9948d1c90fc628739c7f328816214fb33.zip
Update dependencies
Updated the version of some dependencies. This also changes to a new clippy version so clippy can work with the latest nightly compiler again. Some issues created by new lints have been fixed.
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 30ad0da4..532c46cd 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -27,7 +27,7 @@ pub struct Options {
pub ref_test: bool,
pub dimensions: Option<Dimensions>,
pub title: String,
- pub log_level: log::LogLevelFilter,
+ pub log_level: log::LevelFilter,
pub command: Option<Shell<'static>>,
pub working_dir: Option<PathBuf>,
pub config: Option<PathBuf>,
@@ -41,7 +41,7 @@ impl Default for Options {
ref_test: false,
dimensions: None,
title: DEFAULT_TITLE.to_owned(),
- log_level: log::LogLevelFilter::Warn,
+ log_level: log::LevelFilter::Warn,
command: None,
working_dir: None,
config: None,
@@ -138,15 +138,15 @@ impl Options {
match matches.occurrences_of("q") {
0 => {},
- 1 => options.log_level = log::LogLevelFilter::Error,
- 2 | _ => options.log_level = log::LogLevelFilter::Off
+ 1 => options.log_level = log::LevelFilter::Error,
+ 2 | _ => options.log_level = log::LevelFilter::Off
}
match matches.occurrences_of("v") {
0 => {},
- 1 => options.log_level = log::LogLevelFilter::Info,
- 2 => options.log_level = log::LogLevelFilter::Debug,
- 3 | _ => options.log_level = log::LogLevelFilter::Trace
+ 1 => options.log_level = log::LevelFilter::Info,
+ 2 => options.log_level = log::LevelFilter::Debug,
+ 3 | _ => options.log_level = log::LevelFilter::Trace
}
if let Some(dir) = matches.value_of("working-directory") {