From d44ec8bae5b8dfe77fed298cbb579ced18fd9370 Mon Sep 17 00:00:00 2001 From: Delan Azabani Date: Thu, 3 Oct 2024 23:29:47 +0800 Subject: [PATCH] import: make the compose link a clearer call to action (#16) --- src/command/import.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/command/import.rs b/src/command/import.rs index be3e894..bd61148 100644 --- a/src/command/import.rs +++ b/src/command/import.rs @@ -122,7 +122,7 @@ pub async fn main(mut args: impl Iterator) -> eyre::Result<()> { if post.meta.archived == Some(u_url.to_string()) { info!("found existing post: {path:?}"); // TODO: optionally update existing post? - info!("reply: {}", path.compose_reply_url()); + info!("click here to reply: {}", path.compose_reply_url()); return Ok(()); } } @@ -138,7 +138,7 @@ pub async fn main(mut args: impl Iterator) -> eyre::Result<()> { let post = TemplatedPost::filter(&unsafe_html, Some(path.clone()))?; file.write_all(post.safe_html.as_bytes())?; - info!("reply: {}", path.compose_reply_url()); + info!("click here to reply: {}", path.compose_reply_url()); Ok(()) }