From c09f9d4f5fd9d9406f9c31ecef19c4f3cc1f9f67 Mon Sep 17 00:00:00 2001 From: Tanaka Zakku <71482215+YamatoSecurity@users.noreply.github.com> Date: Tue, 12 Apr 2022 08:38:57 +0900 Subject: [PATCH] small english fix --- src/detections/configs.rs | 2 +- src/main.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/detections/configs.rs b/src/detections/configs.rs index 9497376f..f336aa1e 100644 --- a/src/detections/configs.rs +++ b/src/detections/configs.rs @@ -101,7 +101,7 @@ fn build_app<'a>() -> ArgMatches<'a> { .setting(AppSettings::VersionlessSubcommands) .arg( // TODO: When update claps to 3.x, these can write in usage texts... - Arg::from_usage("--level-tuning=[LEVEL_TUNING_FILE] 'Fix rule file's level'") + Arg::from_usage("--level-tuning=[LEVEL_TUNING_FILE] 'Adjust rule level.'") .default_value("./config/level_tuning.txt"), ) .usage(usages) diff --git a/src/main.rs b/src/main.rs index c6d77e11..dc3fdf9d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -85,6 +85,7 @@ impl App { // Show usage when no arguments. if std::env::args().len() == 1 { self.output_logo(); + println!(); println!("{}", configs::CONFIG.read().unwrap().args.usage()); println!(); return; @@ -103,7 +104,7 @@ impl App { if !self.is_matched_architecture_and_binary() { AlertMessage::alert( &mut BufWriter::new(std::io::stderr().lock()), - "The hayabusa version you ran does not match your PC architecture.\n Please use the correct architecture. (Binary ending in -x64.exe for 64-bit and -x86.exe for 32-bit.)", + "The hayabusa version you ran does not match your PC architecture.\nPlease use the correct architecture. (Binary ending in -x64.exe for 64-bit and -x86.exe for 32-bit.)", ) .ok(); println!();