mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-19 00:17:51 +02:00
Add support for NO_COLOR env variable
This commit is contained in:
@ -526,7 +526,7 @@ def main():
|
|||||||
about = 'a' in options
|
about = 'a' in options
|
||||||
debug = 'd' in options
|
debug = 'd' in options
|
||||||
verbose_debug = options.count('d') > 1
|
verbose_debug = options.count('d') > 1
|
||||||
mono = 'm' in options
|
mono = bool('m' in options or os.getenv('NO_COLOR'))
|
||||||
help_me = 'h' in options
|
help_me = 'h' in options
|
||||||
pretty = 'p' in options
|
pretty = 'p' in options
|
||||||
quiet = 'q' in options
|
quiet = 'q' in options
|
||||||
|
Reference in New Issue
Block a user