From a2e26879ab7f952fdd0ece27fb918d5bfedc2fcc Mon Sep 17 00:00:00 2001 From: hosted-fornet Date: Wed, 25 Sep 2024 10:00:53 -0700 Subject: [PATCH] terminal: adjust default to logging on --- kinode/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kinode/src/main.rs b/kinode/src/main.rs index 256e2fe1..cade9f5d 100644 --- a/kinode/src/main.rs +++ b/kinode/src/main.rs @@ -78,7 +78,7 @@ async fn main() { let password = matches.get_one::("password"); // logging mode is toggled at runtime by CTRL+L - let is_logging = *matches.get_one::("logging").unwrap(); + let is_logging = !*matches.get_one::("logging-off").unwrap(); // detached determines whether terminal is interactive let detached = *matches.get_one::("detached").unwrap(); @@ -653,7 +653,7 @@ fn build_command() -> Command { .value_parser(value_parser!(u8)), ) .arg( - arg!(-l --logging "Run in logging mode (toggled at runtime by CTRL+L): write all terminal output to .terminal_log file") + arg!(-l --"logging-off" "Run in non-logging mode (toggled at runtime by CTRL+L): do not write all terminal output to file in .terminal_logs directory") .action(clap::ArgAction::SetTrue), ) .arg(