Skip to content

Commit

Permalink
PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Joost authored and hannesdejager committed Aug 13, 2023
1 parent e472c24 commit 82bcb87
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/server/controlchan/commands/help.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ where
{
#[tracing_attributes::instrument]
async fn handle(&self, _args: CommandContext<Storage, User>) -> Result<Reply, ControlChanError> {
let text = vec![
"Help:",
let text: Vec<String> = 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))
}
}

0 comments on commit 82bcb87

Please sign in to comment.