minor tweaks

This commit is contained in:
skullY 2020-04-04 11:18:31 -07:00 committed by skullydazed
parent 8af156d976
commit 2f15cb2126
1 changed files with 2 additions and 4 deletions

View File

@ -14,9 +14,7 @@ from qmk.commands import run
ESSENTIAL_BINARIES = {
'dfu-programmer': {},
'avrdude': {
'version_arg': '-\\?'
},
'avrdude': {},
'dfu-util': {},
'avr-gcc': {
'version_arg': '-dumpversion'
@ -166,7 +164,7 @@ def is_executable(command):
cli.log.debug('Found {fg_cyan}%s', command)
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