Mildly edited a small handful of help messages (#6868)

* Edited a handful of help messages

* Remove line break as instructed by clippy
This commit is contained in:
Leon
2022-10-23 16:02:52 +10:00
committed by GitHub
parent e49b359848
commit 24a98f8999
16 changed files with 41 additions and 38 deletions

View File

@ -50,7 +50,7 @@ pub fn evaluate_repl(
if !atty::is(atty::Stream::Stdin) {
return Err(std::io::Error::new(
std::io::ErrorKind::NotFound,
"Nushell launched as interactive REPL but STDIN is not a TTY, either launch in a valid terminal or provide arguments to invoke a script!",
"Nushell launched as a REPL, but STDIN is not a TTY; either launch in a valid terminal or provide arguments to invoke a script!",
))
.into_diagnostic();
}