Pass color and unicode settings down to qmk doctor

fixes #50
This commit is contained in:
Zach White
2021-05-10 12:28:37 -07:00
parent fb05b69adc
commit b36cf144e3
+3 -1
View File
@@ -90,7 +90,9 @@ def setup(cli):
cli.write_config_option('user', 'qmk_home')
# Run `qmk doctor` to check the rest of the environment out
doctor_command = [sys.argv[0], 'doctor']
color = '--color' if cli.config.general.color else '--no-color'
unicode = '--unicode' if cli.config.general.unicode else '--no-unicode'
doctor_command = [sys.argv[0], color, unicode, 'doctor']
if cli.args.no:
doctor_command.append('--no')