summaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rwxr-xr-xlib/python/qmk/cli/doctor.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/python/qmk/cli/doctor.py b/lib/python/qmk/cli/doctor.py
index 3e0151cf32..e46e6c777d 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