From 9fa60dd26dd0729113d0c0539d5e99469b637c12 Mon Sep 17 00:00:00 2001 From: itiB Date: Tue, 12 Apr 2022 00:27:02 +0900 Subject: [PATCH] Add: show logo, and some infos --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 868bea31..c6d77e11 100644 --- a/src/main.rs +++ b/src/main.rs @@ -84,6 +84,7 @@ impl App { // Show usage when no arguments. if std::env::args().len() == 1 { + self.output_logo(); println!("{}", configs::CONFIG.read().unwrap().args.usage()); println!(); return; @@ -251,7 +252,7 @@ impl App { } else { AlertMessage::alert( &mut BufWriter::new(std::io::stderr().lock()), - "Need rule_levels.txt file to use --level-tuning option", + "Need rule_levels.txt file to use --level-tuning option [default: ./config/level_tuning.txt]", ) .ok(); }