We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fb31f44 + 34ba3ae commit f02146aCopy full SHA for f02146a
SoftLayer/CLI/command.py
@@ -23,7 +23,7 @@
23
class OptionHighlighter(RegexHighlighter):
24
"""Provides highlighter regex for the Command help"""
25
highlights = [
26
- r"(?P<switch>\-\w)", # single options like -v
+ r"(?P<switch>^\-\w)", # single options like -v
27
r"(?P<option>\-\-[\w\-]+)", # long options like --verbose
28
r"(?P<default_option>\[[^\]]+\])", # anything between [], usually default options
29
0 commit comments