style: 简化错误信息的多行打印格式

This commit is contained in:
zhaoyanchao 2026-04-30 15:27:04 +08:00
parent 1c7927357e
commit c166999d65
1 changed files with 1 additions and 6 deletions

View File

@ -159,12 +159,7 @@ fn main() {
error: {message}"
);
} else {
eprintln!(
"[error-kind: {kind}]
error: {message}
Run `claw --help` for usage."
);
eprintln!("[error-kind: {kind}]\nerror: {message}\n\nRun `claw --help` for usage.");
}
}
std::process::exit(1);