small english fix
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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!();
|
||||
|
||||
Reference in New Issue
Block a user