aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Silas Bartha <[email protected]>2023-11-11 13:16:08 -0500
committerLibravatar Silas Bartha <[email protected]>2023-11-11 13:16:44 -0500
commit9b39e6485b90e0528cd2168956ccf6344acda6e4 (patch)
treefba53192cfab437da6c85db945e8d4104e1b23ec
parentb51bcae2a9cc715270484b04b0c2e8247f28328d (diff)
use stderr instead of stdout
-rw-r--r--Cargo.lock2
-rw-r--r--Cargo.toml2
-rw-r--r--src/main.rs4
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)
}