From 34c54e7e0eb7c28406df112d118b82280be2adee Mon Sep 17 00:00:00 2001 From: Nathan Lilienthal Date: Fri, 3 May 2019 19:48:25 -0400 Subject: Add git hash to version string, and fix crate name (#2397) This moves `cli` out of `alacritty_terminal` and into `alacritty` where it belongs, along with the `clap` dependency. --- alacritty/src/logging.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alacritty/src/logging.rs') diff --git a/alacritty/src/logging.rs b/alacritty/src/logging.rs index 9c2041f0..0b67440d 100644 --- a/alacritty/src/logging.rs +++ b/alacritty/src/logging.rs @@ -29,14 +29,14 @@ use crossbeam_channel::Sender; use log::{self, Level}; use time; -use alacritty_terminal::cli; +use alacritty_terminal::config::Options; use alacritty_terminal::message_bar::Message; use alacritty_terminal::term::color; const ALACRITTY_LOG_ENV: &str = "ALACRITTY_LOG"; pub fn initialize( - options: &cli::Options, + options: &Options, message_tx: Sender, ) -> Result, log::SetLoggerError> { // Use env_logger if RUST_LOG environment variable is defined. Otherwise, -- cgit