summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDo Duy <juchiast@gmail.com>2019-10-23 20:11:17 -0700
committerChristian Duerr <contact@christianduerr.com>2019-10-24 05:11:17 +0200
commitb4a09cd9459cbce0bc3ed4b20b711df03c3dee6a (patch)
tree9d752af3b1a8c08734a12d4a97f459c0f57250f9
parentd76bb0c69793eda42d0e46d4a7c7218b8a3a4a37 (diff)
downloadalacritty-b4a09cd9459cbce0bc3ed4b20b711df03c3dee6a.tar.gz
alacritty-b4a09cd9459cbce0bc3ed4b20b711df03c3dee6a.zip
Fix setting persistent logging via CLI
-rw-r--r--alacritty/src/cli.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/alacritty/src/cli.rs b/alacritty/src/cli.rs
index 98edabcb..83fd0604 100644
--- a/alacritty/src/cli.rs
+++ b/alacritty/src/cli.rs
@@ -285,6 +285,8 @@ impl Options {
config.debug.print_events = self.print_events || config.debug.print_events;
config.debug.log_level = max(config.debug.log_level, self.log_level);
config.debug.ref_test = self.ref_test || config.debug.ref_test;
+ config.debug.persistent_logging =
+ self.persistent_logging || config.debug.persistent_logging;
if config.debug.print_events {
config.debug.log_level = max(config.debug.log_level, LevelFilter::Info);