From 82bcb876c968b264d4c5d144506dcd6f0ed392ca Mon Sep 17 00:00:00 2001 From: Joost Date: Sun, 9 Jul 2023 22:23:31 +0200 Subject: [PATCH] PR comment --- src/server/controlchan/commands/help.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/server/controlchan/commands/help.rs b/src/server/controlchan/commands/help.rs index 5288151b..db5a6a1a 100644 --- a/src/server/controlchan/commands/help.rs +++ b/src/server/controlchan/commands/help.rs @@ -28,10 +28,11 @@ where { #[tracing_attributes::instrument] async fn handle(&self, _args: CommandContext) -> Result { - let text = vec![ - "Help:", + let text: Vec = vec![ + "Help:".to_string(), format!("Powered by libunftp: {}", env!("CARGO_PKG_VERSION")), - "View the docs at: https://unftp.rs/"]; + "View the docs at: https://unftp.rs/".to_string(), + ]; Ok(Reply::new_multiline(ReplyCode::HelpMessage, text)) } }