diff options
author | Casper Beyer <caspervonb@pm.me> | 2021-01-19 08:56:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 01:56:24 +0100 |
commit | f43855cead0a52b888018867f7f3cd439d5944d8 (patch) | |
tree | 300d15ce2661e65e35cfee6299dad1eb7781483b /cli/main.rs | |
parent | db3a1d66331c88917f59beaabf2faf0de11e3019 (diff) |
fix(cli): print a newline after help and version (#9158)
Diffstat (limited to 'cli/main.rs')
-rw-r--r-- | cli/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/main.rs b/cli/main.rs index 3502414a9..2b13b57de 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -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))), |