From 8d9037ed3827f2945d89da00bb97417ace206f04 Mon Sep 17 00:00:00 2001 From: Christopher Gallo Date: Tue, 10 Jan 2023 17:41:43 -0600 Subject: [PATCH 1/3] #1768 added support for click.Choices in the help text --- SoftLayer/CLI/command.py | 11 ++++++++++- SoftLayer/utils.py | 2 ++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/SoftLayer/CLI/command.py b/SoftLayer/CLI/command.py index 5b44da1a6..b38f89d7c 100644 --- a/SoftLayer/CLI/command.py +++ b/SoftLayer/CLI/command.py @@ -19,11 +19,15 @@ class OptionHighlighter(RegexHighlighter): - """Provides highlighter regex for the Command help""" + """Provides highlighter regex for the Command help. + + Defined in SoftLayer\\utils.py console_color_themes() + """ highlights = [ r"(?P^\-\w)", # single options like -v r"(?P