Skip to content

Commit

Permalink
fix: Changed output to stderr for piping purposes
Browse files Browse the repository at this point in the history
Closes #11
  • Loading branch information
asasine committed Sep 26, 2024
1 parent d4b946c commit 0eb39a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/bin/goodboye.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ fn main() {
clipboard
.set_text(output)
.expect("Failed to copy to clipboard.");
println!("Copied to clipboard.");

eprintln!("Copied to clipboard.");
}
Err(e) => {
if cfg!(target_os = "linux") {
Expand Down
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ fn main() {
clipboard
.set_text(output)
.expect("Failed to copy to clipboard.");
println!("Copied to clipboard.");

eprintln!("Copied to clipboard.");
}
Err(e) => {
if cfg!(target_os = "linux") {
Expand Down

0 comments on commit 0eb39a6

Please sign in to comment.