From 7bbc33dd896effe4d10d0c2bc7a912daf2c1962f Mon Sep 17 00:00:00 2001 From: ATechnoHazard Date: Sat, 24 Oct 2020 15:16:07 +0530 Subject: [PATCH] subcommands: add colored output Signed-off-by: ATechnoHazard --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index 1d1bb46..8403602 100644 --- a/src/main.rs +++ b/src/main.rs @@ -26,6 +26,7 @@ fn main() -> anyhow::Result<()> { .subcommand( App::new("freeze") .about("Generate a gitice.lock file with all the repositories in the given directory") + .setting(AppSettings::ColoredHelp) .args(&[Arg::with_name("directory") .help("Directory to look for Git repos in") .required(true) @@ -34,6 +35,7 @@ fn main() -> anyhow::Result<()> { .subcommand( App::new("thaw") .about("Given a gitice.lock and a directory, clones back all the repositories from the lockfile in the directory") + .setting(AppSettings::ColoredHelp) .args(&[ Arg::with_name("directory") .help("Directory to restore repositories in")