Skip to content

Commit b6fce7e

Browse files
author
8go
committed
tiny bug: info was written to stdout preventing piping output through jq
1 parent 0fb2ba1 commit b6fce7e

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[package]
44
name = "matrix-commander"
5-
version = "0.1.22"
5+
version = "0.1.23"
66
edition = "2021"
77
description = "simple but convenient CLI-based Matrix client app for sending and receiving"
88
documentation = "https://docs.rs/matrix-commander"

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.22
1+
0.1.23

src/main.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2858,13 +2858,13 @@ pub(crate) async fn cli_logout(client: &Client, ap: &mut Args) -> Result<(), Err
28582858
async fn main() -> Result<(), Error> {
28592859
let mut ap = Args::parse();
28602860

2861-
println!("WARNING: Incompatible change between version v0.1.20 and v0.1.21.");
2862-
println!("If your credentials file was created with Python, don't do anything.");
2863-
println!("If your credentials file was created with Rust, follow either Option 1 or Option 2.");
2864-
println!("Option 1: Please edit your Rust-created credentials file (usually at $HOME/.local/share/matrix-commander-rs/credentials.json).");
2865-
println!("Replace \"room_default\" with \"room_id\".");
2866-
println!("Option 2: Alternatively you can delete the credentials file and create a new one by logging in again. ");
2867-
println!("You can do this by running first with argument \"--logout\" and then a second time with argument \"--login\".");
2861+
eprintln!("WARNING: Incompatible change between version v0.1.20 and v0.1.21.");
2862+
eprintln!("If your credentials file was created with Python, don't do anything.");
2863+
eprintln!("If your credentials file was created with Rust, follow either Option 1 or Option 2.");
2864+
eprintln!("Option 1: Please edit your Rust-created credentials file (usually at $HOME/.local/share/matrix-commander-rs/credentials.json).");
2865+
eprintln!("Replace \"room_default\" with \"room_id\".");
2866+
eprintln!("Option 2: Alternatively you can delete the credentials file and create a new one by logging in again. ");
2867+
eprintln!("You can do this by running first with argument \"--logout\" and then a second time with argument \"--login\".");
28682868

28692869
// handle log level and debug options
28702870
let env_org_rust_log = env::var("RUST_LOG").unwrap_or_default().to_uppercase();

0 commit comments

Comments
 (0)