summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2023-06-19 06:40:48 +0000
committerGitHub <noreply@github.com>2023-06-19 02:40:48 -0400
commit9e97680131597687befbe43e4d1bf68073103dfc (patch)
tree89a963962da9e4f34d4f5ef7f5724328e9438ac6
parent751abecfe3cc25888d9170daa641f45f6b0b7666 (diff)
other: revert color help text change (#1217)
Didn't mean to push this, reverting it.
-rw-r--r--src/args.rs22
1 files changed, 21 insertions, 1 deletions
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")