summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index 502f6d3..8abca98 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -54,9 +54,6 @@ fn main() -> Result<()> {
if let Some(wrap) = &cli.wrap {
config.write().set_wrap(wrap)?;
}
- if cli.save_session {
- config.write().save_session = true;
- }
if cli.light_theme {
config.write().light_theme = true;
}
@@ -78,6 +75,9 @@ fn main() -> Result<()> {
if let Some(model) = &cli.model {
config.write().set_model(model)?;
}
+ if cli.save_session {
+ config.write().set_save_session(true);
+ }
if cli.no_highlight {
config.write().highlight = false;
}