add -n flag to print to print without a newline (#5458)

* add -n flag to print to print without a newline

* clippy
This commit is contained in:
Darren Schroeder
2022-05-06 15:33:00 -05:00
committed by GitHub
parent fbdb125141
commit 2dfd975940
4 changed files with 28 additions and 7 deletions

View File

@ -216,7 +216,7 @@ impl Command for Watch {
match eval_result {
Ok(val) => {
val.print(engine_state, stack)?;
val.print(engine_state, stack, false)?;
}
Err(err) => {
let working_set = StateWorkingSet::new(engine_state);