From 9e97680131597687befbe43e4d1bf68073103dfc Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Mon, 19 Jun 2023 06:40:48 +0000 Subject: [PATCH] other: revert color help text change (#1217) Didn't mean to push this, reverting it. --- src/args.rs | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/src/args.rs b/src/args.rs index cd159357..9a715996 100644 --- a/src/args.rs +++ b/src/args.rs @@ -271,7 +271,27 @@ pub fn build_app() -> Command { "nord", "nord-light", ])) - .help("Use a pre-defined color scheme."); + .hide_possible_values(true) + .help("Use a color scheme, use --help for info.") + .long_help( + "\ +Use a pre-defined color scheme. Currently supported values are: ++------------------------------------------------------------+ +| default | ++------------------------------------------------------------+ +| default-light (default but for use with light backgrounds) | ++------------------------------------------------------------+ +| gruvbox (a bright theme with 'retro groove' colors) | ++------------------------------------------------------------+ +| gruvbox-light (gruvbox but for use with light backgrounds) | ++------------------------------------------------------------+ +| nord (an arctic, north-bluish color palette) | ++------------------------------------------------------------+ +| nord-light (nord but for use with light backgrounds) | ++------------------------------------------------------------+ +Defaults to \"default\". +", + ); let mem_as_value = Arg::new("mem_as_value") .long("mem_as_value")