Skip to content

Commit 5610e35

Browse files
committed
Improve error message for when mbed-greentea is not installed
1 parent 9630304 commit 5610e35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mbed/mbed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2243,7 +2243,7 @@ def compile_(toolchain=None, target=None, profile=False, compile_library=False,
22432243
try:
22442244
from mbed_host_tests.host_tests_toolbox import flash_dev, reset_dev
22452245
except (IOError, ImportError, OSError):
2246-
error("The target programing requires that the 'mbed-greentea' python module is installed.\nYou can install mbed-ls by running 'pip install mbed-greentea'.")
2246+
error("The '-f' option requires that the 'mbed-greentea' python module is installed.\nYou can install mbed-ls by running 'pip install mbed-greentea'.")
22472247
return False
22482248

22492249
flash_dev(detected['msd'], fw_file, program_cycle_s=0)

0 commit comments

Comments
 (0)