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