Skip to content

Commit d41c7db

Browse files
committed
Language fixes by @bridadan
1 parent 1aa564f commit d41c7db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mbed/mbed.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,11 +1329,11 @@ def get_target(self, target=None):
13291329
if target and (target.lower() == 'detect' or target.lower() == 'auto'):
13301330
targets = self.get_detected_targets()
13311331
if targets == False:
1332-
error("The target detection requires that the 'mbed-ls' python module is installed.")
1332+
error("The target detection requires that the 'mbed-ls' python module is installed.\nYou can install mbed-ls by running 'pip install mbed-ls'.")
13331333
elif len(targets) > 1:
13341334
error("Multiple targets were detected.\nOnly 1 target board should be connected to your system when you use the '-m auto' switch.")
13351335
elif len(targets) == 0:
1336-
error("No targets were detected.\nPlease make sure a target board to this system.")
1336+
error("No targets were detected.\nPlease make sure a target board is connected to this system.")
13371337
else:
13381338
action("Detected \"%s\" connected to \"%s\" and using com port \"%s\"" % (targets[0]['name'], targets[0]['mount'], targets[0]['serial']))
13391339
target = targets[0]['name']

0 commit comments

Comments
 (0)