minor tweaks
This commit is contained in:
parent
8af156d976
commit
2f15cb2126
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue