diff --git a/src/main.rs b/src/main.rs index e92f352c30f43cdde0da0fb5418cfcee6be57aae..d6008ae9d3c2209c7d93da6da01c9505ceb87058 100644 --- a/src/main.rs +++ b/src/main.rs @@ -33,13 +33,18 @@ enum Commands { #[clap(alias = "co")] Checkout(Checkout), /// Create github hooks to use gbl automaticaly after commit, before and afetr checkout - /// - /// This command should be used after git init and glb init. - /// This will create 3 hooks file: - /// 1. post-commit: `glb commit` will be launched after git commit - /// 2. pre-checkout: `glb pre-co` will be launched before git checkout - /// 3. post-checkout: `gbl checkout` will be launched after git checkout - #[clap(name = "create-hooks", alias = "ch")] + #[clap( + name = "create-hooks", + alias = "ch", + long_about = "Create github hooks to use gbl automaticaly after commit, \ + before and after checkout \n \n\ + This command should be used after git init and glb init. \n \n\ + This will create 3 hooks file: \n\ + 1. post-commit: `glb commit` will be launched after git commit \n\ + 2. pre-checkout: `glb pre-co` will be launched before git checkout \n\ + 3. post-checkout: `gbl checkout` will be launched after git checkout + " + )] CreateHooks(CreateHooks), }