From 9b39e6485b90e0528cd2168956ccf6344acda6e4 Mon Sep 17 00:00:00 2001 From: Silas Bartha Date: Sat, 11 Nov 2023 13:16:08 -0500 Subject: use stderr instead of stdout --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/main.rs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6df8949..073e88b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -841,7 +841,7 @@ dependencies = [ [[package]] name = "pomc" -version = "0.1.0" +version = "1.1.0" dependencies = [ "async-std", "clap", diff --git a/Cargo.toml b/Cargo.toml index 768a9f5..256a786 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pomc" -version = "1.1.0" +version = "1.1.1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/main.rs b/src/main.rs index 377a5a9..f9b5653 100644 --- a/src/main.rs +++ b/src/main.rs @@ -39,8 +39,8 @@ async fn main() { Ok(()) => std::process::exit(0), Err(e) => { match e { - fdo::Error::ServiceUnknown(_) => println!("Error: Failed to find pomd dbus interface, is pomd running?"), - _ => println!("Error calling pomd command: {}", e) + fdo::Error::ServiceUnknown(_) => eprintln!("Error: Failed to find pomd dbus interface, is pomd running?"), + _ => eprintln!("Error calling pomd command: {}", e) } std::process::exit(1) } -- cgit v1.2.3