From f3d086effc74e32733c551de62d3f056c26d6fee Mon Sep 17 00:00:00 2001 From: Malted Date: Sat, 10 Jun 2023 18:11:54 +0100 Subject: [PATCH] :memo: Add long description to clap help Replaces the None value with a descriptive str --- burrow/src/main.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/burrow/src/main.rs b/burrow/src/main.rs index 256f292..40c54e6 100644 --- a/burrow/src/main.rs +++ b/burrow/src/main.rs @@ -6,7 +6,12 @@ use tun::TunInterface; #[command(name = "Burrow")] #[command(author = "Hack Club ")] #[command(version = "0.1")] -#[command(about = "Burrow is a tool for burrowing through firewalls, built by teenagers at Hack Club.", long_about = None)] +#[command( + about = "Burrow is a tool for burrowing through firewalls, built by teenagers at Hack Club.", + long_about = "Burrow is a 🚀 blazingly fast 🚀 tool designed to penetrate unnecessarily restrictive firewalls, providing teenagers worldwide with secure, less-filtered, and safe access to the internet! +It's being built by teenagers from Hack Club, in public! Check it out: https://github.com/hackclub/burrow +Spotted a bug? Please open an issue! https://github.com/hackclub/burrow/issues/new" +)] struct Cli { #[command(subcommand)] @@ -15,7 +20,7 @@ struct Cli { #[derive(Subcommand)] enum Commands { - /// Adds files to myapp + /// Start Burrow Start(StartArgs), }