aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/logging.rs
diff options
context:
space:
mode:
authorNathan Lilienthal <nathan@nixpulvis.com>2019-05-03 19:48:25 -0400
committerGitHub <noreply@github.com>2019-05-03 19:48:25 -0400
commit34c54e7e0eb7c28406df112d118b82280be2adee (patch)
tree7b32e11bed7906d67d43da81bd8e8b08f128660d /alacritty/src/logging.rs
parentba6e208a95e37116b031aca02246d3cff04c0216 (diff)
downloadr-alacritty-34c54e7e0eb7c28406df112d118b82280be2adee.tar.gz
r-alacritty-34c54e7e0eb7c28406df112d118b82280be2adee.tar.bz2
r-alacritty-34c54e7e0eb7c28406df112d118b82280be2adee.zip
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.
Diffstat (limited to 'alacritty/src/logging.rs')
-rw-r--r--alacritty/src/logging.rs4
1 files changed, 2 insertions, 2 deletions
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<Message>,
) -> Result<Option<PathBuf>, log::SetLoggerError> {
// Use env_logger if RUST_LOG environment variable is defined. Otherwise,