From 2f15cb21260f152b93c0ef76e780bba4f33e1938 Mon Sep 17 00:00:00 2001 From: skullY Date: Sat, 4 Apr 2020 11:18:31 -0700 Subject: [PATCH] minor tweaks --- lib/python/qmk/cli/doctor.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/python/qmk/cli/doctor.py b/lib/python/qmk/cli/doctor.py index 3e0151cf3..e46e6c777 100755 --- a/lib/python/qmk/cli/doctor.py +++ b/lib/python/qmk/cli/doctor.py @@ -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