mirror of
https://github.com/denoland/deno.git
synced 2025-01-18 03:44:05 -05:00
fix(cli): print a newline after help and version (#9158)
This commit is contained in:
parent
db3a1d6633
commit
f43855cead
1 changed files with 1 additions and 0 deletions
|
@ -1268,6 +1268,7 @@ pub fn main() {
|
|||
|| err.kind == clap::ErrorKind::VersionDisplayed =>
|
||||
{
|
||||
err.write_to(&mut std::io::stdout()).unwrap();
|
||||
std::io::stdout().write_all(b"\n").unwrap();
|
||||
std::process::exit(0);
|
||||
}
|
||||
Err(err) => unwrap_or_exit(Err(AnyError::from(err))),
|
||||
|
|
Loading…
Add table
Reference in a new issue