1
0
Fork 0

minor tweaks

This commit is contained in:
skullY 2020-04-04 11:18:31 -07:00 committed by skullydazed
parent 8af156d976
commit 2f15cb2126

View file

@ -14,9 +14,7 @@ from qmk.commands import run
ESSENTIAL_BINARIES = { ESSENTIAL_BINARIES = {
'dfu-programmer': {}, 'dfu-programmer': {},
'avrdude': { 'avrdude': {},
'version_arg': '-\\?'
},
'dfu-util': {}, 'dfu-util': {},
'avr-gcc': { 'avr-gcc': {
'version_arg': '-dumpversion' 'version_arg': '-dumpversion'
@ -166,7 +164,7 @@ def is_executable(command):
cli.log.debug('Found {fg_cyan}%s', command) cli.log.debug('Found {fg_cyan}%s', command)
return True return True
cli.log.error("{fg_red}Can't get version number of `%s`", command) cli.log.error("{fg_red}Can't run `%s %s`", (command, version_arg))
return False return False