@@ -87,7 +87,7 @@ async fn poke_eml_file(context: &Context, filename: &Path) -> Result<()> {
87
87
let data = read_file ( context, filename) . await ?;
88
88
89
89
if let Err ( err) = receive_imf ( context, & data, false ) . await {
90
- println ! ( "receive_imf errored: {err:?}" ) ;
90
+ eprintln ! ( "receive_imf errored: {err:?}" ) ;
91
91
}
92
92
Ok ( ( ) )
93
93
}
@@ -621,7 +621,7 @@ pub async fn cmdline(context: Context, line: &str, chat_id: &mut ChatId) -> Resu
621
621
println ! ( "Location streaming enabled." ) ;
622
622
}
623
623
println ! ( "{cnt} chats" ) ;
624
- println ! ( "{time_needed:?} to create this list" ) ;
624
+ eprintln ! ( "{time_needed:?} to create this list" ) ;
625
625
}
626
626
"start-realtime" => {
627
627
if arg1. is_empty ( ) {
@@ -731,7 +731,7 @@ pub async fn cmdline(context: Context, line: &str, chat_id: &mut ChatId) -> Resu
731
731
chat:: marknoticed_chat ( & context, sel_chat. get_id ( ) ) . await ?;
732
732
let time_noticed_needed = time_noticed_start. elapsed ( ) . unwrap_or_default ( ) ;
733
733
734
- println ! (
734
+ eprintln ! (
735
735
"{time_needed:?} to create this list, {time_noticed_needed:?} to mark all messages as noticed."
736
736
) ;
737
737
}
@@ -985,7 +985,7 @@ pub async fn cmdline(context: Context, line: &str, chat_id: &mut ChatId) -> Resu
985
985
} ,
986
986
query,
987
987
) ;
988
- println ! ( "{time_needed:?} to create this list" ) ;
988
+ eprintln ! ( "{time_needed:?} to create this list" ) ;
989
989
}
990
990
"draft" => {
991
991
ensure ! ( sel_chat. is_some( ) , "No chat selected." ) ;
@@ -1224,7 +1224,7 @@ pub async fn cmdline(context: Context, line: &str, chat_id: &mut ChatId) -> Resu
1224
1224
ensure ! ( !arg1. is_empty( ) , "Argument <qr-content> missing." ) ;
1225
1225
match set_config_from_qr ( & context, arg1) . await {
1226
1226
Ok ( ( ) ) => println ! ( "Config set from QR code, you can now call 'configure'" ) ,
1227
- Err ( err) => println ! ( "Cannot set config from QR code: {err:?}" ) ,
1227
+ Err ( err) => eprintln ! ( "Cannot set config from QR code: {err:?}" ) ,
1228
1228
}
1229
1229
}
1230
1230
"createqrsvg" => {
0 commit comments