Skip to content

Commit

Permalink
eprint! -> eprintln!
Browse files Browse the repository at this point in the history
  • Loading branch information
lunacookies committed Oct 16, 2023
1 parent fd76311 commit 1867e32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/pipes-rs/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ fn required_value(option: &str) -> ! {

fn invalid_value(option: &str, actual: &str, expected: &str) -> ! {
eprintln!("error: invalid value “{actual}” for {option}");
eprint!(" expected {expected}");
eprintln!("\nsee --help");
eprintln!(" expected {expected}");
eprintln!("see --help");
process::exit(1);
}

0 comments on commit 1867e32

Please sign in to comment.